diff --git a/src/Brouter/Bit.Brouter.Demo/Client/Pages/LandingPage.razor.css b/src/Brouter/Bit.Brouter.Demo/Client/Pages/LandingPage.razor.css index f1e54d6a42a..4d7d8a24255 100644 --- a/src/Brouter/Bit.Brouter.Demo/Client/Pages/LandingPage.razor.css +++ b/src/Brouter/Bit.Brouter.Demo/Client/Pages/LandingPage.razor.css @@ -181,8 +181,12 @@ /* ---------- Proof strip ---------- - A single hairline grid: the 1px gap IS the rule between cells, so the four claims read as one - row of facts rather than as four more cards. It is also the one child of the stack that is a + A single hairline grid: the rules between cells are drawn in the 1px gap, so the four claims + read as one row of facts rather than as four more cards. They are the cells' own outlines + meeting in the gap, not the strip's color showing through it: when the cells wrap with room to + spare, the empty end of the last row stays the surface color instead of turning into a grey + block. Outlines paint above the siblings next to them, and the strip's overflow clips them at + its own frame. It is also the one child of the stack that is a control rather than a band, so it opts out of the full-bleed treatment and keeps the container's gutters. */ .bb-landing > section.bb-proof { @@ -192,7 +196,7 @@ width: min(100% - 3rem, var(--bb-content-width)); margin: 3.5rem auto; padding: 0; - background: var(--bb-border); + background: var(--bb-surface); border: 1px solid var(--bb-border); border-radius: var(--bb-radius-lg); box-shadow: var(--bb-shadow-card); @@ -201,6 +205,7 @@ .bb-proof > div { background: var(--bb-surface); + outline: 1px solid var(--bb-border); padding: 1.25rem 1.5rem; display: flex; flex-direction: column; diff --git a/src/Brouter/Bit.Brouter.Demo/Client/Shared/CommandPalette.razor.css b/src/Brouter/Bit.Brouter.Demo/Client/Shared/CommandPalette.razor.css index fc80fc6ba68..54ac8e911fe 100644 --- a/src/Brouter/Bit.Brouter.Demo/Client/Shared/CommandPalette.razor.css +++ b/src/Brouter/Bit.Brouter.Demo/Client/Shared/CommandPalette.razor.css @@ -55,6 +55,11 @@ .bb-palette-scrim { position: fixed; inset: 0; + /* The header's backdrop-filter makes it the containing block of its fixed descendants, so + `inset: 0` alone would span only the 56px bar. The header is pinned to the top of the + viewport, so a viewport-tall box from its top edge is the whole screen. */ + bottom: auto; + height: 100vh; z-index: 1100; display: flex; justify-content: center; diff --git a/src/Brouter/Bit.Brouter.Demo/Client/Shared/DocsShell.razor b/src/Brouter/Bit.Brouter.Demo/Client/Shared/DocsShell.razor index 24a76b16841..0de8921c1de 100644 --- a/src/Brouter/Bit.Brouter.Demo/Client/Shared/DocsShell.razor +++ b/src/Brouter/Bit.Brouter.Demo/Client/Shared/DocsShell.razor @@ -10,8 +10,8 @@ the "on this page" rail. The rail's contents are built by site.js from whatever headings the page rendered - see the note on the