about summary refs log tree commit diff
path: root/src/components/Layout
diff options
context:
space:
mode:
authorSamuel Newman <mozzius@protonmail.com>2024-12-11 22:24:22 +0000
committerGitHub <noreply@github.com>2024-12-11 22:24:22 +0000
commit48346edde606e8cb5cd2071a1a090610ff1670a9 (patch)
tree72d10da706a1084e39b8e9e6661b4934f396ba90 /src/components/Layout
parent89c6ca94fe5f13a06d592be0771ebc27774b01ea (diff)
downloadvoidsky-48346edde606e8cb5cd2071a1a090610ff1670a9.tar.zst
More exact counts (#7059)
* post liked by

* rm unnecessary layout.center

* do post quotes/reposts

* set height of header to prevent layout shifts
Diffstat (limited to 'src/components/Layout')
-rw-r--r--src/components/Layout/Header/index.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/Layout/Header/index.tsx b/src/components/Layout/Header/index.tsx
index 321f7201f..f05350dca 100644
--- a/src/components/Layout/Header/index.tsx
+++ b/src/components/Layout/Header/index.tsx
@@ -48,8 +48,8 @@ export function Outer({
         a.gap_sm,
         gutters,
         platform({
-          native: [a.pb_sm, a.pt_xs],
-          web: [a.py_sm],
+          native: [a.pb_xs, {minHeight: 48}],
+          web: [a.py_xs, {minHeight: 52}],
         }),
         t.atoms.border_contrast_low,
         gtMobile && [a.mx_auto, {maxWidth: 600}],