rebalance splitview, make leftnav nicer

This commit is contained in:
Samuel Newman
2026-05-16 12:33:21 +03:00
parent 45597de6e0
commit aa0ecc2a2e
7 changed files with 171 additions and 298 deletions
+7 -2
View File
@@ -1,7 +1,7 @@
export const SCROLLBAR_OFFSET =
'calc(-1 * var(--removed-body-scroll-bar-size, 0px) / 2)' as any
'calc(-1 * var(--removed-body-scroll-bar-size, 0px) / 2)' as `${number}%`
export const SCROLLBAR_OFFSET_POSITIVE =
'calc(var(--removed-body-scroll-bar-size, 0px) / 2)' as any
'calc(var(--removed-body-scroll-bar-size, 0px) / 2)' as `${number}%`
/**
* Useful for visually aligning icons within header buttons with the elements
@@ -19,3 +19,8 @@ export const HEADER_SLOT_SIZE = 33
* How far to shift the center column when in the tablet breakpoint
*/
export const CENTER_COLUMN_OFFSET = -105
/**
* How wide the center column is
*/
export const CENTER_COLUMN_WIDTH = 600