From 27b0813e493d6733f9919d0037f0d4a73173df20 Mon Sep 17 00:00:00 2001 From: Lim Chee Aun <cheeaun@gmail.com> Date: Fri, 29 Sep 2023 09:38:14 +0800 Subject: [PATCH] Fix flickering text bug Font size changes when truncated class is added/removed, thus making it flickering --- src/components/status.css | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/status.css b/src/components/status.css index d1b3a027..db880b91 100644 --- a/src/components/status.css +++ b/src/components/status.css @@ -166,8 +166,11 @@ .status.large .status-card :is(.content, .poll, .media-container) { max-height: 80vh !important; } -.status-card :is(.content.truncated, .poll, .media-container.truncated) { +.status-card :is(.content, .poll, .media-container) { font-size: inherit !important; +} +.status-card :is(.content.truncated, .poll, .media-container.truncated) { + /* font-size: inherit !important; */ mask-image: linear-gradient(to bottom, #000 80px, transparent); } .status.small