Files
cs249r_book/shared
Vijay Janapa Reddi 010576f1ae style(html): constrain Quarto auto-promoted page-full floats to body column
Quarto's HTML emitter auto-applies `.page-columns.page-full` to wide
table figures, listings, and figures based on internal content-width
heuristics. In the book's `floating slimcontent` grid, that class
spans `[page-start]` → `[page-end]`, which extends under the sidebar
nav on the left and into the margin-notes column on the right.
Visible effect: stranded captions, clipped content, columns hidden by
the sidebar (Tables 4/6/15/27 + Listing 12 in V1+V2).

Grep across `book/quarto/contents/` confirms zero floats explicitly
request `column: page`, so constraining all auto-promoted ones to the
body-content track is safe. Floats that genuinely want to span margins
can still opt in via `.column-page` / `column="page"`.

Rule mirrored in `book/quarto/assets/styles/_base-styles.scss` (book
build path) and `shared/styles/partials/_tables.scss` (ecosystem-base
consumers), matching the existing duplication pattern between those
two files.
2026-05-18 21:24:15 -07:00
..