diff options
| author | Dylan DPC <99973273+Dylan-DPC@users.noreply.github.com> | 2022-11-02 22:32:05 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-11-02 22:32:05 +0530 |
| commit | cd9173ec40f261994e68c111a582951ab6ba45cd (patch) | |
| tree | e482d234905b2187bf854745efaa12478d54f2df /src/librustdoc/html | |
| parent | 68db106366583484362c415db0f2b3fd82cec767 (diff) | |
| parent | 82c68cae18b798b6cd1f0d9d31cb7a429fcd55ca (diff) | |
| download | rust-cd9173ec40f261994e68c111a582951ab6ba45cd.tar.gz rust-cd9173ec40f261994e68c111a582951ab6ba45cd.zip | |
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.
Diffstat (limited to 'src/librustdoc/html')
| -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 { |
