Skip to content

Commit

Permalink
fix: table getting overflowed and causing UI to break
Browse files Browse the repository at this point in the history
  • Loading branch information
Yashasewi committed May 21, 2024
1 parent 805eba3 commit 8c154fc
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions src/templates/guide.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,10 @@
padding: 0 var(--spacing-xsmall);
}

.td:not(:first-child) {
word-break: break-word;
}

.tr:last-child .td {
border-bottom: none;
}
Expand All @@ -214,12 +218,6 @@
.videoContainer {
padding-bottom: var(--baseline-box-7x);
}
.table {
& table {
table-layout: fixed;
text-wrap: wrap;
}
}
}

@media (--xsmall) {
Expand All @@ -229,10 +227,4 @@
.itemSpacer {
display: none;
}
.table {
& table {
table-layout: fixed;
text-wrap: wrap;
}
}
}

0 comments on commit 8c154fc

Please sign in to comment.