Skip to content

Commit cd9173e

Browse files
authored
Rollup merge of #103855 - notriddle:notriddle/mobile-item-table, r=GuillaumeGomez
rustdoc: simplify mobile item-table CSS Using flexbox in column direction is needlessly complicated, since no special flex powers are being used here. Just use regular block layout. This should result in no visible changes.
2 parents 68db106 + 82c68ca commit cd9173e

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

src/librustdoc/html/static/css/rustdoc.css

+1-8
Original file line numberDiff line numberDiff line change
@@ -1870,16 +1870,9 @@ in storage.js
18701870
}
18711871

18721872
/* Display an alternating layout on tablets and phones */
1873-
.item-table {
1873+
.item-table, .item-row, .item-left, .item-right {
18741874
display: block;
18751875
}
1876-
.item-row {
1877-
display: flex;
1878-
flex-flow: column wrap;
1879-
}
1880-
.item-left, .item-right {
1881-
width: 100%;
1882-
}
18831876

18841877
/* Display an alternating layout on tablets and phones */
18851878
.search-results > a {

0 commit comments

Comments
 (0)