Update Dashboard Sidebar Splitter Dimensions for Improved Layout
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good

- Adjusted the default and maximum sidebar widths to enhance the layout and user experience within the Dashboard component.
- Set DEFAULT_SIDEBAR_PX to 285 and MAX_SIDEBAR_PX to 305 for better responsiveness.
This commit is contained in:
Tom Butcher 2026-09-18 02:45:01 +01:00
parent d52eea3a41
commit 251bb716cf

View File

@ -13,8 +13,8 @@ import { ElectronContext } from '../context/ElectronContext'
import AdaptiveSplitter from './AdaptiveSplitter'
const COLLAPSE_BELOW_PX = 200
const DEFAULT_SIDEBAR_PX = 300
const MAX_SIDEBAR_PX = 400
const DEFAULT_SIDEBAR_PX = 285
const MAX_SIDEBAR_PX = 305
const COLLAPSED_WIDTH_PX = 80
const ELECTRON_COLLAPSED_WIDTH_PX = 55
const EXPAND_DRAG_PX = 10