reduce size of titles and text when mobile, fixes #286

This commit is contained in:
Lorin Werthen 2021-03-02 11:43:06 +01:00
parent e2e2dfea74
commit 432ac3b83a

View file

@ -12,17 +12,17 @@
<img class="event-tile-image" src="<%= @event[:image] %>" alt="">
<% end %>
<div class="event-text">
<h2 class="has-text-centered">
<h2 class="is-size-5-mobile has-text-centered">
<%= @event[:title] %>
</h2>
<div class="description has-text-centered">
<div class="is-size-6-mobile description has-text-centered">
<%= @event[:description] %>
</div>
<div class="is-divider"></div>
<div class="event-time-loc">
<div class="is-size-7-mobile event-time-loc">
<%= fa :'clock-o' , fw: true %><%= @event[:time].strftime('%A %d %B, %H:%M') %>
<br>
<%= fa :'map-marker', fw: true %><%= @event[:location] %>