Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions apps/web/src/lib/components/Sidebar.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -141,12 +141,11 @@
.launch {
padding: 0 var(--space-3) var(--space-4);
}
/* The launch button stretches to the rail width; its kbd hint sits at the trailing edge. A
block-level flex (not the primitive's default inline-flex) makes the full-width fill explicit and
robust as the resizable sidebar changes width. */
/* The launch button keeps a stable, comfortable size — it fills a narrow rail but caps out, so it does
NOT keep stretching as the sidebar is dragged wider; its kbd hint sits at the trailing edge. */
.launch :global(.btn) {
display: flex;
width: 100%;
max-width: 14rem;
justify-content: flex-start;
gap: var(--space-2);
}
Expand Down
4 changes: 2 additions & 2 deletions apps/web/src/lib/sidebar-width.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
* and persistence unit-test without a DOM; the shell binds these to the real `localStorage`.
*/
export const MIN_SIDEBAR_WIDTH = 200;
export const MAX_SIDEBAR_WIDTH = 420;
export const DEFAULT_SIDEBAR_WIDTH = 240;
export const MAX_SIDEBAR_WIDTH = 480;
export const DEFAULT_SIDEBAR_WIDTH = 360;

const STORAGE_KEY = 'telecode:sidebar-width';

Expand Down
Loading