From 86fcd93a68f9c860c32739d98cec3cc7042230ef Mon Sep 17 00:00:00 2001 From: Brandon Oxendine Date: Tue, 27 Oct 2026 16:37:39 +0100 Subject: [PATCH] explorer: Clamp long node descriptions Collapse the node description to three lines with a Show more toggle when it overflows, and let the sidebar scroll on wide screens so the node details below it stay reachable. --- explorer/src/components/Layout.svelte | 1 + explorer/src/views/nodes/View.svelte | 75 ++++++++++++++++++++++++++- 2 files changed, 74 insertions(+), 2 deletions(-) diff --git a/explorer/src/components/Layout.svelte b/explorer/src/components/Layout.svelte index 509e5766b..d82c922ec 100644 --- a/explorer/src/components/Layout.svelte +++ b/explorer/src/components/Layout.svelte @@ -19,6 +19,7 @@ grid-area: left; background-color: var(--color-surface-base); height: calc(100vh - var(--global-header-height)); + overflow-y: auto; } .center { grid-area: center; diff --git a/explorer/src/views/nodes/View.svelte b/explorer/src/views/nodes/View.svelte index cf1d88a98..c81138c67 100644 --- a/explorer/src/views/nodes/View.svelte +++ b/explorer/src/views/nodes/View.svelte @@ -1,6 +1,8 @@