Skip to content

Commit 7a25752

Browse files
committed
+
1 parent c67140a commit 7a25752

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

src/mdx/TableWrapper.astro

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<div class="custom-table">
2+
<slot />
3+
</div>
4+
<style is:global>
5+
.custom-table thead,
6+
.custom-table tbody {
7+
display: flex;
8+
flex-direction: column;
9+
}
10+
.custom-table tr {
11+
display: flex;
12+
flex: 1;
13+
}
14+
.custom-table th,
15+
.custom-table td {
16+
flex: 1;
17+
}
18+
</style>

0 commit comments

Comments
 (0)