Skip to content

Commit 3e4a571

Browse files
fix: UI issue on table contents which is overlapping layout on docs page.
1 parent 0397c37 commit 3e4a571

2 files changed

Lines changed: 15 additions & 1 deletion

File tree

src/templates/page.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ export default ({ data, pageContext }) => {
7373
</div>
7474

7575
</main>
76-
<aside className="w-1/5">
76+
<aside className="w-1/5 bg-white">
7777
<hr className="d-block lg:hidden" />
7878
<div className="top-0 top-1 border-l pl-4 py-16 sticky">
7979
<div className="edit-button">

src/templates/page.scss

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -660,4 +660,18 @@ code[class*="language-"] {
660660
@media only screen and (max-width: 767px) {
661661
@apply px-8;
662662
}
663+
}
664+
665+
table{
666+
thead, tbody{
667+
@apply w-full;
668+
tr{
669+
td, th{
670+
word-wrap: break-word;
671+
li{
672+
@apply break-all w-full;
673+
}
674+
}
675+
}
676+
}
663677
}

0 commit comments

Comments
 (0)