diff options
| author | Michael Howell <michael@notriddle.com> | 2022-11-01 16:27:00 -0700 |
|---|---|---|
| committer | Michael Howell <michael@notriddle.com> | 2022-11-01 16:28:58 -0700 |
| commit | 82c68cae18b798b6cd1f0d9d31cb7a429fcd55ca (patch) | |
| tree | 8dbb3ab06d74340855139c188401f807072f1b48 | |
| parent | ab5a2bc7316012ee9b2a4a4f3821673f2677f3d5 (diff) | |
| download | rust-82c68cae18b798b6cd1f0d9d31cb7a429fcd55ca.tar.gz rust-82c68cae18b798b6cd1f0d9d31cb7a429fcd55ca.zip | |
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.
| -rw-r--r-- | src/librustdoc/html/static/css/rustdoc.css | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/librustdoc/html/static/css/rustdoc.css b/src/librustdoc/html/static/css/rustdoc.css index 219d1b4ed53..360b6b9832a 100644 --- a/src/librustdoc/html/static/css/rustdoc.css +++ b/src/librustdoc/html/static/css/rustdoc.css @@ -1870,16 +1870,9 @@ in storage.js } /* Display an alternating layout on tablets and phones */ - .item-table { + .item-table, .item-row, .item-left, .item-right { display: block; } - .item-row { - display: flex; - flex-flow: column wrap; - } - .item-left, .item-right { - width: 100%; - } /* Display an alternating layout on tablets and phones */ .search-results > a { |
