Skip to content

Commit 6adf35e

Browse files
committed
Updated crate.scss
1. Fixed table from overflowing when the width is too large. 2. Removed a pointless CSS property. See https://developer.mozilla.org/en-US/docs/Web/CSS/float `inline-block` is ignored due to the `float`. If `float` has a value other than `none`, the box is floated and `display` is treated as `block`.
1 parent 08e2e68 commit 6adf35e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

app/styles/crate.scss

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,6 +341,9 @@
341341

342342
table {
343343
border-collapse: collapse;
344+
display: block;
345+
overflow-x: auto;
346+
white-space: wrap;
344347

345348
th, td {
346349
border: 1px solid #dfe2e5;
@@ -466,7 +469,6 @@
466469
.small { margin-left: 20px; display: inline-block; }
467470
a.arrow {
468471
display: inline-block;
469-
float: right;
470472
}
471473
}
472474

0 commit comments

Comments
 (0)