My solution is better

This commit is contained in:
Peder Bergebakken Sundt 2018-08-10 23:51:34 +02:00
parent 90297af982
commit 309e308518
2 changed files with 8 additions and 4 deletions

View File

@ -64,6 +64,13 @@ img.float-right {
list-style: none; list-style: none;
} }
.calendar-events ul li :not(.date):not(.time) {
display: inline-block;
width: calc(100% - 7em);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.calendar-events ul .date { .calendar-events ul .date {
color: rgba(0,0,0,.5); color: rgba(0,0,0,.5);
font-size: 0.8em; font-size: 0.8em;
@ -105,7 +112,7 @@ main.contentsplit {
.contentsplit { .contentsplit {
display: grid; display: grid;
grid-template-columns: 2.5fr 1.5fr; grid-template-columns: 2.5fr 2fr;
} }
.gridr { .gridr {

View File

@ -45,9 +45,6 @@ h1, h2, h3, h4, h5, h6, nav li, .calendar-events li, .btn, p.login, a#login{
font-variant: normal; font-variant: normal;
} }
.calendar-events li {
clear: right;
}
nav, #menu { nav, #menu {
padding: 0; padding: 0;