Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions src/styles/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -1336,9 +1336,23 @@ nav.sidebar {
margin: 0;
border: 0;
border-radius: 0;
/* Grow to content so wide tables overflow the wrapper and it scrolls;
min-width keeps narrow tables full-width. The base rule's width:100%
otherwise pins the table and wide content gets clipped instead. */
width: max-content;
min-width: 100%;
}

/* Fallback for raw HTML <table> blocks: the markdown table-scroll wrapper only
catches mdast table nodes, and hand-written <table> markup can split across
several HTML nodes, so it stays unwrapped. Make any unwrapped, non-spec,
non-status table scroll on its own instead of clipping under the TOC. */
.sl-markdown-content
table:not(.beacon-spec-table):not(.beacon-status-table):not(:where(.beacon-table-scroll *)):not(:where(.not-content *)) {
display: block;
overflow-x: auto;
}

/* Instant view transitions */
::view-transition-old(root),
::view-transition-new(root) {
Expand Down
Loading