diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2021-06-01 11:29:45 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-01 11:29:45 +0200 |
| commit | 82b84bfca4e09dec079ce573bb594c9ca42029f7 (patch) | |
| tree | e149208ec92f97d1d700dbe39c3225611a0d4f56 /src | |
| parent | f4d3f32f4529adc9709ee11fd062b49332d36096 (diff) | |
| parent | 2970479412783b39aab3792525cb926a609a2d3c (diff) | |
| download | rust-82b84bfca4e09dec079ce573bb594c9ca42029f7.tar.gz rust-82b84bfca4e09dec079ce573bb594c9ca42029f7.zip | |
Rollup merge of #85860 - pickfire:patch-5, r=GuillaumeGomez
Fix details rustdoc toggle for blanket impl In the meantime, allow all of the details to have the same top. Before   After   I stumbled across this while wanting to do a details button for the layout.
Diffstat (limited to 'src')
| -rw-r--r-- | src/librustdoc/html/static/rustdoc.css | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/librustdoc/html/static/rustdoc.css b/src/librustdoc/html/static/rustdoc.css index f3866e211d9..2623ff27a25 100644 --- a/src/librustdoc/html/static/rustdoc.css +++ b/src/librustdoc/html/static/rustdoc.css @@ -1468,13 +1468,12 @@ details.rustdoc-toggle > summary.hideme::before { details.rustdoc-toggle > summary:not(.hideme)::before { position: absolute; left: -23px; - top: initial; + top: 3px; } .impl-items > details.rustdoc-toggle > summary:not(.hideme)::before, .undocumented > details.rustdoc-toggle > summary:not(.hideme)::before { position: absolute; - top: 3px; left: -2px; } |
