diff options
Diffstat (limited to 'packages/meshbay-hub/src/meshbay_hub/static/style.css')
| -rw-r--r-- | packages/meshbay-hub/src/meshbay_hub/static/style.css | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/packages/meshbay-hub/src/meshbay_hub/static/style.css b/packages/meshbay-hub/src/meshbay_hub/static/style.css index 6b0b6fe..828e104 100644 --- a/packages/meshbay-hub/src/meshbay_hub/static/style.css +++ b/packages/meshbay-hub/src/meshbay_hub/static/style.css @@ -278,6 +278,14 @@ a:hover { text-decoration: underline; } padding: 24px; } +/* A centring page already reserves the whole viewport below the header, so the + main column's own padding is added on top of it and the page overflows by + exactly that much — 48px, and a scrollbar on sign-in at every window size. + Measured, not deduced: `.page-center` ended at 795 and `main` at 819. + The page brings its own 24px, so dropping main's here changes nothing + visible and removes the duplicated arithmetic rather than adding more. */ +.main:has(> .page-center) { padding: 0; } + /* ── Cards ────────────────────────────────────────────────────────────────── */ .card { |