Skip to content

Commit

Permalink
Merge pull request #2205 from tf/info-table-wrap
Browse files Browse the repository at this point in the history
Wrap text in first column of info table on narrow viewports
  • Loading branch information
tf authored Feb 14, 2025
2 parents 0dec7dd + 5504a48 commit d22097a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@value breakpoint-md from 'pageflow-scrolled/values/breakpoints.module.css';

.table {
width: 100%;
border-collapse: collapse;
Expand All @@ -13,7 +15,12 @@
.table td:first-child {
border-right: solid 1px var(--table-border-color);
padding: 0.5rem 0.5rem 0.5rem 0;
white-space: pre;
}

@media breakpoint-md {
.table td:first-child {
white-space: pre;
}
}

.table td:first-child div {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
pointer-events: none;
opacity: 0.5;
font-weight: normal;
white-space: nowrap;
}

.placeholder::before {
Expand Down

0 comments on commit d22097a

Please sign in to comment.