Skip to content

Commit

Permalink
tweak the spacing of event type label
Browse files Browse the repository at this point in the history
  • Loading branch information
cycomachead committed Jul 21, 2023
1 parent 56cd1f0 commit 2b62daf
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion app/views/proposals/show.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
.div{ style: 'margin: 3px; flex: 1' }
- if @event.event_type.present?
- color = css_background_color(@event.event_type&.color || '#f5f5f5')
%h3{style: 'display: inline-block'}
%span.h3
.label{ style: "#{color} margin: 4px; display: inline-block"}
= @event.event_type.title
= join_event_link(@event, @event_schedule, current_user)
Expand Down
1 change: 0 additions & 1 deletion app/views/schedules/_event.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
- if event.subtitle.present?
%br
%small{style: color_style}= event.subtitle

%span
- event.speakers_ordered.each do |speaker|
= image_tag speaker.profile_picture, class: 'img-circle', alt: speaker.name
Expand Down

0 comments on commit 2b62daf

Please sign in to comment.