reduce size of titles and text when mobile, fixes #286
This commit is contained in:
parent
e2e2dfea74
commit
432ac3b83a
1 changed files with 3 additions and 3 deletions
|
@ -12,17 +12,17 @@
|
||||||
<img class="event-tile-image" src="<%= @event[:image] %>" alt="">
|
<img class="event-tile-image" src="<%= @event[:image] %>" alt="">
|
||||||
<% end %>
|
<% end %>
|
||||||
<div class="event-text">
|
<div class="event-text">
|
||||||
<h2 class="has-text-centered">
|
<h2 class="is-size-5-mobile has-text-centered">
|
||||||
<%= @event[:title] %>
|
<%= @event[:title] %>
|
||||||
</h2>
|
</h2>
|
||||||
|
|
||||||
<div class="description has-text-centered">
|
<div class="is-size-6-mobile description has-text-centered">
|
||||||
<%= @event[:description] %>
|
<%= @event[:description] %>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="is-divider"></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') %>
|
<%= fa :'clock-o' , fw: true %><%= @event[:time].strftime('%A %d %B, %H:%M') %>
|
||||||
<br>
|
<br>
|
||||||
<%= fa :'map-marker', fw: true %><%= @event[:location] %>
|
<%= fa :'map-marker', fw: true %><%= @event[:location] %>
|
||||||
|
|
Loading…
Reference in a new issue