From d5d1d08fd9e5ad680bd1d9d3bf178a6794d2e6e5 Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Wed, 7 Jan 2026 23:29:49 +0100 Subject: [PATCH] Style ExpandableText and link button --- client/src/index.css | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/client/src/index.css b/client/src/index.css index f9ea2c5..15c8723 100644 --- a/client/src/index.css +++ b/client/src/index.css @@ -220,6 +220,26 @@ h4 { white-space: pre-wrap; } +.ig-desc.expandable .clamped { + display: -webkit-box; + -webkit-line-clamp: 1; + -webkit-box-orient: vertical; + overflow: hidden; +} + +.ig-desc.expandable .full { + white-space: pre-wrap; +} + +.link-button { + border: none; + background: transparent; + color: var(--accent); + font-weight: 700; + cursor: pointer; + padding: 0.25rem 0; +} + .meta-box { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));