Skip to content

Commit

Permalink
Fixed Table Layout
Browse files Browse the repository at this point in the history
Fixed bug steemit#3924 by introducing a scrollbar underneath tables that exceed their wrapper width.
  • Loading branch information
the-gorilla-steem committed Oct 1, 2024
1 parent 6170a6c commit ac73383
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/app/assets/stylesheets/foundation-overrides.scss
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,16 @@ table {
box-shadow: inset 0 0 0 -1px red;
}

.MarkdownViewer table {
display: block;
overflow-x: auto;
width: 100%;
}

thead, tbody, tfoot {
@include themify($themes) {
background-color: themed('backgroundColor');
}
}
}

thead {
Expand All @@ -120,6 +125,7 @@ tbody tr:nth-child(even) {
border: transparent;
transition: 0.2s all ease-in-out;
outline: none;
padding-bottom: 50px !important;
@include themify($themes) {
background-color: themed('modalBackgroundColor');
color: themed('modalTextColorPrimary');
Expand Down

0 comments on commit ac73383

Please sign in to comment.