From d93fd7d2eacd00c16dffd4cc125150a8fe083f8e Mon Sep 17 00:00:00 2001 From: echarp Date: Sat, 20 Dec 2014 22:53:04 +0100 Subject: [PATCH] Past events are now only displayed on 1 line, with a ... ellipsis --- app/assets/stylesheets/events.css.sass | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app/assets/stylesheets/events.css.sass b/app/assets/stylesheets/events.css.sass index 7c193790..94841dff 100644 --- a/app/assets/stylesheets/events.css.sass +++ b/app/assets/stylesheets/events.css.sass @@ -28,6 +28,8 @@ p.full_address body.events.index table width: 90% max-width: 100% + // So we can ellipse past events + table-layout: fixed tr th padding-bottom: 0.35em @@ -36,8 +38,13 @@ body.events.index table width: 14% height: 4.8em border: 1px solid #89B7E5 + position: relative vertical-align: top background-color: #A1C3E7 + &.past .event + overflow: hidden + white-space: nowrap + text-overflow: ellipsis &.today border: 1px solid #FFB578 background-color: #FFE0C7