mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-06-09 08:21:50 +00:00
fix(desktop): match file-browser default width to sessions sidebar
Both rails now open at SIDEBAR_DEFAULT_WIDTH so a fresh window has equal-width sidebars instead of the old 237px vs 17rem mismatch.
This commit is contained in:
parent
182092c5fd
commit
74c8f51e95
1 changed files with 2 additions and 1 deletions
|
|
@ -13,7 +13,8 @@ import { $paneStates, ensurePaneRegistered, setPaneOpen, setPaneWidthOverride, t
|
|||
|
||||
export const SIDEBAR_DEFAULT_WIDTH = 237
|
||||
export const SIDEBAR_MAX_WIDTH = 360
|
||||
export const FILE_BROWSER_DEFAULT_WIDTH = '17rem'
|
||||
// Open at the same width as the sessions sidebar so the two rails match.
|
||||
export const FILE_BROWSER_DEFAULT_WIDTH = `${SIDEBAR_DEFAULT_WIDTH}px`
|
||||
export const FILE_BROWSER_MIN_WIDTH = '14rem'
|
||||
export const FILE_BROWSER_MAX_WIDTH = '20rem'
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue