Skip to content

Commit

Permalink
Merge pull request #2419 from samvera/adjust-cultural-show-citations-div
Browse files Browse the repository at this point in the history
🧹 Switch from bootstrap class to css
  • Loading branch information
kirkkwang authored Jan 16, 2025
2 parents 843705e + 34fd1ee commit 92d95f8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions app/assets/stylesheets/themes/cultural_show.scss
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@
}
}

.citations-container {
display: flex;
justify-content: center;
}

li.attribute,
td.attribute {
font-size: 18px;
Expand Down
4 changes: 2 additions & 2 deletions app/views/themes/cultural_show/hyrax/base/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@
<%= render 'relationships', presenter: @presenter %>
</div>
<%= render('download_pdf', presenter: @presenter, file_set_id: @presenter.file_set_presenters.first.id) if @presenter.show_pdf_download_button? %>
<div class="d-flex justify-content-center">
<%= render 'citations', presenter: @presenter %>
<div class="citations-container">
<%= render 'citations', presenter: @presenter %>
</div>
<!-- analytics_button is disabled until future fix -->
<%#= render 'analytics_button', presenter: @presenter %>
Expand Down

0 comments on commit 92d95f8

Please sign in to comment.