From c818ae55dff3aee50450f6074ab56f81d609d11e Mon Sep 17 00:00:00 2001 From: les Date: Wed, 1 Sep 2021 11:16:13 +0200 Subject: [PATCH] fix overflow on event title @homepage --- assets/style.less | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/assets/style.less b/assets/style.less index 7eb095ff..b608603d 100644 --- a/assets/style.less +++ b/assets/style.less @@ -65,14 +65,14 @@ li { overflow: hidden; .title { - transition: all .5s; - display: block; - max-height: 3em; - color: white; + display: -webkit-box; overflow: hidden; margin: 0.5rem 1rem 0.5rem 1rem; + text-overflow: ellipsis; + -webkit-line-clamp: 3; + -webkit-box-orient: vertical; font-size: 1.1em !important; - line-height: 1.1em !important; + line-height: 1.2em !important; } .body {