Past events are now only displayed on 1 line, with a ... ellipsis

This commit is contained in:
echarp 2014-12-20 22:53:04 +01:00
parent fcad525b4f
commit d93fd7d2ea

View File

@ -28,6 +28,8 @@ p.full_address
body.events.index table body.events.index table
width: 90% width: 90%
max-width: 100% max-width: 100%
// So we can ellipse past events
table-layout: fixed
tr tr
th th
padding-bottom: 0.35em padding-bottom: 0.35em
@ -36,8 +38,13 @@ body.events.index table
width: 14% width: 14%
height: 4.8em height: 4.8em
border: 1px solid #89B7E5 border: 1px solid #89B7E5
position: relative
vertical-align: top vertical-align: top
background-color: #A1C3E7 background-color: #A1C3E7
&.past .event
overflow: hidden
white-space: nowrap
text-overflow: ellipsis
&.today &.today
border: 1px solid #FFB578 border: 1px solid #FFB578
background-color: #FFE0C7 background-color: #FFE0C7