Skip to content
Merged
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
26 changes: 26 additions & 0 deletions docs/source/_static/theme_overrides.css
Original file line number Diff line number Diff line change
Expand Up @@ -84,3 +84,29 @@ Details: 8rem for search box etc*/
white-space: normal !important;
}
}

/* Make wide tables scroll within the content area to avoid overlapping the
right sidebar. Prevents tables from bleeding underneath the sticky sidebar. */
.bd-content table {
display: block;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
max-width: 100%;
}

/* Restore proper table display to maintain column alignment */
.bd-content table thead,
.bd-content table tbody { display: table-row-group; }

.bd-content table tr { display: table-row; }

.bd-content table th,
.bd-content table td {
display: table-cell;
white-space: normal;
}

/* Maintain striped styling when table scrolls */
.bd-content table tbody tr:nth-of-type(odd) {
background-color: rgba(0, 0, 0, 0.03);
}