summaryrefslogtreecommitdiff
path: root/assets/mumi.scss
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2022-12-24 23:17:32 +0100
committerRicardo Wurmus <rekado@elephly.net>2022-12-24 23:17:32 +0100
commit52f15bc1134ba2477f8461dd13c02f275f3d9660 (patch)
tree86f3e5a41c74a805bf9c16e5e35b594120d08d24 /assets/mumi.scss
parentca4d83865943f2851b07deaf34b026705c46dd41 (diff)
Truncate very long message parts.
Diffstat (limited to 'assets/mumi.scss')
-rw-r--r--assets/mumi.scss10
1 files changed, 10 insertions, 0 deletions
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;