From 29a2e3b10b31db6307aaafd01d0819f6fb0f2356 Mon Sep 17 00:00:00 2001 From: jduehring Date: Mon, 9 Dec 2024 14:10:37 +0100 Subject: [PATCH 1/2] do not display linebreaks in shortened title --- frontend/style/annotations/list.less | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/frontend/style/annotations/list.less b/frontend/style/annotations/list.less index cbd717707..77c555acb 100644 --- a/frontend/style/annotations/list.less +++ b/frontend/style/annotations/list.less @@ -336,6 +336,10 @@ position: relative; top: 2px; width: 60%; // Mobile + + br{ + display: none; + } } .content-item .actions { From 05775f20efceca658df61ea9a5b52f0190c5f778 Mon Sep 17 00:00:00 2001 From: jduehring Date: Mon, 9 Dec 2024 14:28:27 +0100 Subject: [PATCH 2/2] insert space instead of linebreak --- frontend/style/annotations/list.less | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/frontend/style/annotations/list.less b/frontend/style/annotations/list.less index 77c555acb..88b84787b 100644 --- a/frontend/style/annotations/list.less +++ b/frontend/style/annotations/list.less @@ -337,8 +337,12 @@ top: 2px; width: 60%; // Mobile - br{ - display: none; + br { + content: "" + } + + br:after { + content: "\00a0" } }