From ece8d359d26fa224efb66855e3510f9dfc649f3b Mon Sep 17 00:00:00 2001 From: the1812 Date: Mon, 4 Mar 2024 22:38:52 +0800 Subject: [PATCH] Update folded content class (fix #4633) --- .../components/feeds/full-content/full-content.scss | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/registry/lib/components/feeds/full-content/full-content.scss b/registry/lib/components/feeds/full-content/full-content.scss index 23a8861c4..2a8cf7be0 100644 --- a/registry/lib/components/feeds/full-content/full-content.scss +++ b/registry/lib/components/feeds/full-content/full-content.scss @@ -1,11 +1,17 @@ -.dyn-card-opus__summary:first-child, +.bili-rich-text__content.folded { + -webkit-line-clamp: unset !important; + display: block !important; + height: auto !important; + max-height: unset !important; + ~ .bili-rich-text__action { + display: none !important; + } +} .card .main-content { - .bili-rich-text__action, .expand-btn, .content-ellipsis { display: none !important; } - .bili-rich-text__content, .content-full { -webkit-line-clamp: unset !important; display: block !important;