From e66c6d79e4d358139f8710c86c1824b5344d63fa Mon Sep 17 00:00:00 2001 From: girst Date: Sat, 1 May 2021 17:46:16 +0200 Subject: [PATCH] add ellipsis to truncated video titles all browsers have this implemented with the -webkit- prefix, even firefox. --- app/static/style.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/static/style.css b/app/static/style.css index 648f0c5..f7fe80c 100644 --- a/app/static/style.css +++ b/app/static/style.css @@ -143,6 +143,10 @@ article { height: 2.3em; line-height: 1.2em; overflow: hidden; + /* display ellipsis: */ + display: -webkit-box; + -webkit-box-orient: vertical; + -webkit-line-clamp: 2; } .card .card-main { -- 2.39.3