Merge pull request #438 from ZeusWPI/fix-286

reduce size of titles and text when mobile, fixes #286
This commit is contained in:
lorin 2021-03-02 14:14:57 +01:00 committed by GitHub
commit 12ad4eed43
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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] %>