style(v2): halve the gap between the gallery toolbar and the content

The space under the header toolbar was the toolbar's 24px bottom padding
plus a 16px wrapper padding in each shell. It is now a single 20px padding
on the toolbar, in the gallery and the platform / collection indexes, pinned
or not.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017VhukP5AfTE36MxtiJR6vL
This commit is contained in:
zurdi
2026-09-18 15:20:06 +02:00
parent 9bea95961f
commit fec1d0d91e
3 changed files with 1 additions and 17 deletions

View File

@@ -1206,14 +1206,6 @@ html[data-bp~="xs"] .r-v2-shell {
padding: var(--r-space-6) 0;
}
/* Toolbar — both layers share the same internal styling. Transparent
by default; the BackgroundArt behind the section shows through.
`padding-bottom` reserves breathing space between the toolbar UI
and the first card row in flow. */
.r-v2-shell__toolbar {
padding-bottom: 16px;
}
/* Inflow layer — `position: sticky; top: 0` so the compositor pins
it smoothly as the user scrolls past the header. This makes the
inflow's pinned position match the overlay's `top: 0` exactly,

View File

@@ -407,7 +407,7 @@ const { smAndUp } = useBreakpoint();
overlay), and a margin would collapse out of one copy but not the other. */
.gallery-toolbar--header {
width: 100%;
padding: var(--r-space-2) 0 var(--r-space-6);
padding: var(--r-space-2) 0 var(--r-space-5);
}
/* Floating variant — fixed top-right of the gallery body. */

View File

@@ -214,14 +214,6 @@ html[data-bp~="sm-and-down"] .r-v2-idx-shell {
padding-top: 32px;
}
/* Toolbar — both layers share the same internal styling. Transparent
by default; the BackgroundArt behind the section shows through.
`padding-bottom` reserves breathing space between the toolbar UI and
the first row of content below. */
.r-v2-idx-shell__toolbar {
padding-bottom: 16px;
}
/* Inflow layer — sticky at the top of the scroller. The compositor
pins it smoothly as the user scrolls past the header. The scroller's
clip-path hides this layer once `--stuck` is true; the overlay then