Update Dashboard Sidebar Splitter Dimensions for Improved Layout
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
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:
parent
d52eea3a41
commit
251bb716cf
@ -13,8 +13,8 @@ import { ElectronContext } from '../context/ElectronContext'
|
|||||||
import AdaptiveSplitter from './AdaptiveSplitter'
|
import AdaptiveSplitter from './AdaptiveSplitter'
|
||||||
|
|
||||||
const COLLAPSE_BELOW_PX = 200
|
const COLLAPSE_BELOW_PX = 200
|
||||||
const DEFAULT_SIDEBAR_PX = 300
|
const DEFAULT_SIDEBAR_PX = 285
|
||||||
const MAX_SIDEBAR_PX = 400
|
const MAX_SIDEBAR_PX = 305
|
||||||
const COLLAPSED_WIDTH_PX = 80
|
const COLLAPSED_WIDTH_PX = 80
|
||||||
const ELECTRON_COLLAPSED_WIDTH_PX = 55
|
const ELECTRON_COLLAPSED_WIDTH_PX = 55
|
||||||
const EXPAND_DRAG_PX = 10
|
const EXPAND_DRAG_PX = 10
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user