Skip to content

Commit

Permalink
Update people object background styling
Browse files Browse the repository at this point in the history
  • Loading branch information
lfarrell committed Oct 3, 2023
1 parent cd95b1d commit d047867
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions app/assets/stylesheets/unc_custom.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -561,6 +561,10 @@ div.fileupload-progress {
clip: rect(1px, 1px, 1px, 1px);
}

.base-terms .card {
margin-bottom: 15px !important;
}

#fileuploadVersioning {
h3 {
width: 100%;
Expand Down
4 changes: 2 additions & 2 deletions app/views/records/edit_fields/_person.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<% end %>

<%= f.fields_for person_key, sorted_values do |person| %>
<div class="<%= person_term %> row well field-wrapper person-object">
<div class="<%= person_term %> row card card-body bg-light field-wrapper person-object">
<div class="person col-sm-12 <%= person_term %>-name">
<%= person.input :name,
label: person_term_display,
Expand Down Expand Up @@ -70,7 +70,7 @@
<div class="<%= person_term %> row cloning d-none field-wrapper" id='<%= person_term %>-cloning_row'>
<%= f.fields_for person_key do |person| %>
<% if person.index <= @form.instance_eval(person_key.to_s).count %>
<div class="<%= person_term %> row well">
<div class="<%= person_term %> row card card-body bg-light">
<div class="col-sm-12 <%= person_term %>-name">
<%= person.input :name,
label: person_term_display,
Expand Down

0 comments on commit d047867

Please sign in to comment.