diff options
author | Samuel Newman <mozzius@protonmail.com> | 2025-03-24 21:55:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-24 12:55:05 -0700 |
commit | 412b10742006df48dbde99414453c335f62942b6 (patch) | |
tree | 8545dc325a7a532f4df3b42468c667639e3bcd3e /src/components/Layout/const.ts | |
parent | 1b8719293c1f0a3ef351445bdd9c19566f8d6342 (diff) | |
download | voidsky-412b10742006df48dbde99414453c335f62942b6.tar.zst |
Extract center column offset, reduce by 20px (#7974)
* extract offset, reduce by 20px * move constant to `Layout/const.ts`
Diffstat (limited to 'src/components/Layout/const.ts')
-rw-r--r-- | src/components/Layout/const.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/components/Layout/const.ts b/src/components/Layout/const.ts index 11825d323..63bb05cb0 100644 --- a/src/components/Layout/const.ts +++ b/src/components/Layout/const.ts @@ -14,3 +14,8 @@ export const BUTTON_VISUAL_ALIGNMENT_OFFSET = 3 * Corresponds to the width of a small square or round button */ export const HEADER_SLOT_SIZE = 34 + +/** + * How far to shift the center column when in the tablet breakpoint + */ +export const CENTER_COLUMN_OFFSET = -130 |