From 52f15bc1134ba2477f8461dd13c02f275f3d9660 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sat, 24 Dec 2022 23:17:32 +0100 Subject: Truncate very long message parts. --- assets/mumi.scss | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'assets/mumi.scss') diff --git a/assets/mumi.scss b/assets/mumi.scss index 22925ab..6912a88 100644 --- a/assets/mumi.scss +++ b/assets/mumi.scss @@ -537,6 +537,16 @@ details { display: none; } +.truncation-notice:before { + display: block; + background: linear-gradient(#00000000,var(--card-background-color)); + height: 20rem; + width: 100%; + position: relative; + content: " "; + margin-top: -20rem; +} + .message div.line { white-space: pre-wrap; font-family: monospace; -- cgit v1.2.3