Skip to content

Commit bbcaeb6

Browse files
committed
Tables: Handle non-wrapped tables
1 parent 4c6cacd commit bbcaeb6

File tree

3 files changed

+4046
-6
lines changed

3 files changed

+4046
-6
lines changed

assets/css/v2/style.css

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1688,7 +1688,16 @@ table {
16881688
}
16891689
}
16901690

1691+
/* Workaround for raw html tables without div wrapper*/
1692+
table.table {
1693+
display: block;
1694+
width: 100%;
1695+
overflow-x: auto;
1696+
}
1697+
16911698
.table {
1699+
overflow-x: auto;
1700+
width: 100%;
16921701
margin: var(--margin-table);
16931702
&.borderless {
16941703
th {
@@ -1716,11 +1725,6 @@ table {
17161725
}
17171726
}
17181727

1719-
.md-table-scroll-x {
1720-
overflow-x: auto;
1721-
width: 100%;
1722-
}
1723-
17241728
table hr {
17251729
color: oklch(var(--color-divider));
17261730
border: none;

0 commit comments

Comments
 (0)