File size: 1,212 Bytes
e88a3a3 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | /* ---------------------------------------------------------------------------
styles/wave52/parity.css — Data/Sheet header parity patch (wave 52, W52-T21, instr 16).
The Sheet rail's breadcrumb nav (`.cg-fold-head.cg-view-path.cg-segmented-path` in
SheetRail.tsx) renders the same classes as the Data rail's, but the Data rail gets its real
seating from `styles/wave46/rail-select.css`, which only `ViewSidebar.tsx` imports. Without
that import the Sheet rail falls back to index.css's bare `.cg-view-path { margin: 2px 0; }`
with no border and no `.cg-segmented-path` min-height, so the "Create new" and "Find" controls
sit a few pixels higher than on the Data page.
Importing the whole wave46 stylesheet was rejected: it also carries `.cg-data-create`
sizing that lane C already tuned for the Sheet rail in W51-T09, and a second definition
would risk re-breaking that parity. So this is a minimal two-rule patch, scoped under
`.sheet-page` so it can never apply to the Data rail (which has no `.sheet-page` ancestor).
*/
.sheet-page .cg-view-path {
margin: 6px 0 2px;
border-bottom: 1px solid var(--lp-line);
}
.sheet-page .cg-segmented-path {
min-height: 30px;
}
|