Commit

The docs' top bar is the app's: 4rem tall with a line under it, above the section tabs

The docs header's top row was 3.5rem and ran straight into the tabs. It is now the app's top bar (h-16, border-line), and the header grows to 6.75rem to hold it; the phone menu button stays centred in the row.

syntaqxcommitted Parenta75b1a4Browse files
2 files+9−40/2 viewed
+5−1
2626 flex-direction: column;
2727 height: 100%;
2828 }
29+ /* The same bar as the app's: 4rem, and a line under it. */
2930 .g1t-header-top {
30− height: 3.5rem;
31+ box-sizing: border-box;
32+ height: 4rem;
33+ flex-shrink: 0;
3134 padding: 0 var(--sl-nav-pad-x);
35+ border-bottom: 1px solid var(--g1t-line);
3236 }
3337 /* On phones the menu button sits at the top row's end: leave it room. */
3438 @media (max-width: 49.99rem) {
+4−3
3737 --sl-text-body: 0.9375rem;
3838 --sl-line-height: 1.75;
3939 --sl-content-width: 46rem;
40− /* The header's row, and the tabs beneath it. */
41− --sl-nav-height: 6.25rem;
40+ /* The header's row, as tall as the app's top bar (4rem), and the tabs
41+ beneath it. */
42+ --sl-nav-height: 6.75rem;
4243 --sl-sidebar-width: 17rem;
4344
4445 color-scheme: dark;
6263 }
6364 /* On phones the menu button sits in the header's top row, not its middle. */
6465 .sl-menu-button {
65− top: calc((3.5rem - var(--sl-menu-button-size)) / 2) !important;
66+ top: calc((4rem - var(--sl-menu-button-size)) / 2) !important;
6667 }
6768 site-search button[data-open-modal] {
6869 border-radius: 0.5rem;