Skip to content

Commit 6da5c5d

Browse files
committed
Add horizontal scrolling to wide tables in documentation
Tables that overflow their container now display with horizontal scroll instead of breaking the layout or extending off the page.
1 parent 9192d51 commit 6da5c5d

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

resources/css/app.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,3 +270,12 @@ nav.docs-navigation > ul > li > ul {
270270
.dark .prose code {
271271
@apply bg-gray-800 text-purple-300;
272272
}
273+
274+
.prose table {
275+
@apply w-full;
276+
}
277+
278+
.prose :where(table):not(:where([class~='not-prose'] *)) {
279+
display: block;
280+
overflow-x: auto;
281+
}

0 commit comments

Comments
 (0)