From 6ef3b9e76c85e2a94c9b18d4a8ee6636b2a2452f Mon Sep 17 00:00:00 2001 From: ltguillaume Date: Tue, 26 May 2026 03:37:34 +0200 Subject: [PATCH] CSS: Remove overflow fade, show ellipses --- src/styles/landing.css | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/src/styles/landing.css b/src/styles/landing.css index 93c361b..298acd6 100644 --- a/src/styles/landing.css +++ b/src/styles/landing.css @@ -745,27 +745,16 @@ } .ticker-card p { - position: relative; - margin: 0 0 0.5rem; + margin: 0 0 0.25rem; font-style: italic; font-weight: 500; - line-height: 1.25; + line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; } - .ticker-card p::after { - content: ""; - position: absolute; - left: 0; - right: 0; - bottom: 0; - height: 2em; - background: linear-gradient(0deg, hsl(var(--tc-h), var(--tc-s), 96%) 5%, rgba(255, 255, 255, 0)); - } - .ticker-card cite { font-size: 0.75rem; font-style: normal;