diff options
Diffstat (limited to 'src/style.css')
| -rw-r--r-- | src/style.css | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/style.css b/src/style.css index 311cfbb..4a86697 100644 --- a/src/style.css +++ b/src/style.css @@ -755,6 +755,11 @@ html:has(#app .chat-card), body:has(#app .chat-card) { overflow: hidden; } .note-content > * { grid-column: 1 / -1; min-width: 0; } .note-content > .note-header { grid-column: 2; grid-row: 1; } .note-content > .note-text { font-size: 18px; line-height: 1.5; } +/* a really long note in a feed: ten lines, fading out, then Show more */ +.note-content > .note-clamp-wrap > .note-text { font-size: 18px; line-height: 1.5; } +.note-text.note-clamped { max-height: 15em; overflow: hidden; + -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent); mask-image: linear-gradient(to bottom, #000 72%, transparent); } +.note-more { background: none; border: 0; padding: 4px 0 2px; color: var(--accent, #f7931a); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; } .note-acts { margin-top: 8px; gap: 4px; width: 100%; } .note-acts > .note-act { flex: 1 1 0; min-width: 0; justify-content: center; padding-inline: 2px; } /* server comparison table (Settings → Advanced → Ark server) */ |
