From f32dec16fbfcecd96b033562a5c6fba0777834eb Mon Sep 17 00:00:00 2001 From: Gigi Date: Thu, 9 Oct 2025 21:12:06 +0100 Subject: [PATCH] fix(ui): align highlight metadata elements on single line in sidebar --- src/index.css | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/index.css b/src/index.css index 656380e4..e6312481 100644 --- a/src/index.css +++ b/src/index.css @@ -1637,20 +1637,27 @@ body { gap: 0.5rem; font-size: 0.875rem; color: #888; - flex-wrap: wrap; + flex-wrap: nowrap; } .highlight-author { color: #aaa; font-weight: 500; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + max-width: 150px; } .highlight-meta-separator { color: #666; + flex-shrink: 0; } .highlight-time { color: #888; + white-space: nowrap; + flex-shrink: 0; } .highlight-source { @@ -1660,6 +1667,8 @@ body { color: #646cff; text-decoration: none; transition: color 0.2s ease; + flex-shrink: 0; + margin-left: auto; } .highlight-source:hover {