Skip to content

Commit

Permalink
Fix notes showing when empty, adjust relive notice font-size
Browse files Browse the repository at this point in the history
  • Loading branch information
QbDesu committed Dec 29, 2024
1 parent 15b5958 commit 10f2b66
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion app/assets/stylesheets/frontend/pages/_show.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ body.page-show {
}

.relive-notice {
font-size: 1.5em;
font-size: 1.25em;
h3, h4 {
font-size: 1.25em;
}
}

.player-header {
Expand Down
2 changes: 1 addition & 1 deletion app/views/frontend/events/show.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@
%a{href: @event.doi_url}
= truncate(@event.doi, length: 20, separator: ' ', omission: '…')

- if @event.notes
- if @event.notes.present?
.alert.alert-info.event-notes
%span.icon.icon-info-circle
= @event.notes
Expand Down

0 comments on commit 10f2b66

Please sign in to comment.