From 97397a1c4d2c93cecada427267718e7755f56607 Mon Sep 17 00:00:00 2001 From: Hare Date: Thu, 23 Jul 2026 20:57:02 +0900 Subject: [PATCH] web: keep sidebar fold button visible --- web/workspace/src/app.css | 12 ++++---- .../workspace/sidebar/WorkspaceSidebar.svelte | 30 ++++++++++--------- 2 files changed, 23 insertions(+), 19 deletions(-) diff --git a/web/workspace/src/app.css b/web/workspace/src/app.css index 940dae14..0b44ba24 100644 --- a/web/workspace/src/app.css +++ b/web/workspace/src/app.css @@ -271,6 +271,12 @@ margin-bottom: var(--space-2); min-width: 0; } + .sidebar-control-row, + .sidebar-actions-row { + display: flex; + justify-content: flex-end; + gap: var(--space-1); + } .sidebar-title-row { display: flex; align-items: center; @@ -305,11 +311,6 @@ .error { color: var(--danger); } - .sidebar-actions-row { - display: flex; - justify-content: flex-end; - gap: var(--space-1); - } .sidebar-icon-button, .sidebar-fold-button { flex: 0 0 auto; @@ -349,6 +350,7 @@ .workspace-sidebar.folded .sidebar-header { margin-bottom: 0; } + .workspace-sidebar.folded .sidebar-control-row, .workspace-sidebar.folded .sidebar-title-row, .workspace-sidebar.folded .sidebar-actions-row { justify-content: center; diff --git a/web/workspace/src/lib/workspace/sidebar/WorkspaceSidebar.svelte b/web/workspace/src/lib/workspace/sidebar/WorkspaceSidebar.svelte index 62a355bc..0350c1e3 100644 --- a/web/workspace/src/lib/workspace/sidebar/WorkspaceSidebar.svelte +++ b/web/workspace/src/lib/workspace/sidebar/WorkspaceSidebar.svelte @@ -37,20 +37,7 @@ aria-label="Workspace navigation" >