Skip to content

Commit 155b56e

Browse files
authored
fix(docs): resolve extra outline on tables (#18193)
## Which issue does this PR close? - Closes #18189. ## What changes are included in this PR? This PR fixes the extra outline extending beyond the table content in the documentation. <img width="924" height="240" alt="image" src="https://github.com/user-attachments/assets/d079ae42-8ce3-4afc-9eaa-bff21069ba83" />
1 parent 1f434dc commit 155b56e

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/source/_static/theme_overrides.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,13 @@ Details: 8rem for search box etc*/
9494
max-width: 100%;
9595
}
9696

97+
/* Make table container width fit content instead of spanning full width. */
98+
.pst-scrollable-table-container {
99+
display: inline-block;
100+
overflow-x: auto;
101+
max-width: 100%;
102+
}
103+
97104
/* Restore proper table display to maintain column alignment */
98105
.bd-content table thead,
99106
.bd-content table tbody { display: table-row-group; }

0 commit comments

Comments
 (0)