From eaa1ac514062d69cd0ee0203ce20dd10d26dc9fd Mon Sep 17 00:00:00 2001 From: Wout Schellaert Date: Fri, 13 Oct 2017 11:24:06 +0200 Subject: [PATCH] Add some margin to event-tile text --- content/assets/stylesheets/includes/tiles.scss | 8 ++++++++ layouts/partials/_events_tile.erb | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/content/assets/stylesheets/includes/tiles.scss b/content/assets/stylesheets/includes/tiles.scss index 1ff4c7f..6e35037 100644 --- a/content/assets/stylesheets/includes/tiles.scss +++ b/content/assets/stylesheets/includes/tiles.scss @@ -35,8 +35,16 @@ a.box { .event-text { display: inline-block; font-size: 1.1em; + margin-left: 10px; + margin-right: 10px; + + .event-time-loc { + margin-left: 10px; + margin-right: 10px; + } } + .is-divider { margin: 0.5em; } diff --git a/layouts/partials/_events_tile.erb b/layouts/partials/_events_tile.erb index 42d6b11..971b1e3 100644 --- a/layouts/partials/_events_tile.erb +++ b/layouts/partials/_events_tile.erb @@ -19,7 +19,7 @@
-
+
<%= fa :'clock-o' , fw: true %><%= @event[:time].strftime('%A %d %B, %H:%M') %>
<%= fa :'map-marker', fw: true %><%= @event[:location] %>