diff --git a/app/assets/stylesheets/events.css b/app/assets/stylesheets/events.css index 7f23eba1a..1b6408ff3 100644 --- a/app/assets/stylesheets/events.css +++ b/app/assets/stylesheets/events.css @@ -26,7 +26,9 @@ } .events--none { - padding: calc(3 * var(--block-space)); + .events + & { + padding-block-start: calc(4 * var(--block-space)); + } } .event-grid-item { @@ -64,3 +66,7 @@ transform: translate(-50%, 0); } } + +.events__index { + --row-gap: calc(4 * var(--block-space)); +} diff --git a/app/views/events/_day.html.erb b/app/views/events/_day.html.erb index 9bbfb115b..d19bbebcb 100644 --- a/app/views/events/_day.html.erb +++ b/app/views/events/_day.html.erb @@ -1,4 +1,4 @@ -
No activity
+No activity
No activity for <%= (latest - earliest).seconds.in_days.round + 1 %> days
+No activity for <%= (latest - earliest).seconds.in_days.round + 1 %> days
No more activity.
+No more activity.
<% end %> diff --git a/app/views/events/index.html.erb b/app/views/events/index.html.erb index d49a35544..2243d428f 100644 --- a/app/views/events/index.html.erb +++ b/app/views/events/index.html.erb @@ -17,8 +17,8 @@ <% end %> -