diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-10-23 08:12:39 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-23 08:12:39 +0200 |
| commit | e86f9b6fceda43cecd839e288f40622eadd9e639 (patch) | |
| tree | 41592ebfdd17ffadbfa12f5e2677a03c20ab9900 | |
| parent | 62fae2305e5f3a959bd6ad6c20608c118e93648a (diff) | |
| parent | c564f81bea9c7d67eddfc06d2383e6fef2671183 (diff) | |
| download | rust-e86f9b6fceda43cecd839e288f40622eadd9e639.tar.gz rust-e86f9b6fceda43cecd839e288f40622eadd9e639.zip | |
Rollup merge of #105666 - notriddle:notriddle/stab-baseline, r=GuillaumeGomez
rustdoc: align stability badge to baseline instead of bottom | desc | img | |------|-----| | before |  | | | | | after |  | Preview: http://notriddle.com/notriddle-rustdoc-demos/stab-baseline/test_dingus/index.html Based on comment from https://github.com/rust-lang/rust/pull/105509#discussion_r1044816673 r? ``@joshtriplett``
| -rw-r--r-- | src/librustdoc/html/static/css/rustdoc.css | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/librustdoc/html/static/css/rustdoc.css b/src/librustdoc/html/static/css/rustdoc.css index e2b4cc50dd5..9efdcd60117 100644 --- a/src/librustdoc/html/static/css/rustdoc.css +++ b/src/librustdoc/html/static/css/rustdoc.css @@ -1107,6 +1107,7 @@ so that we can apply CSS-filters to change the arrow color in themes */ white-space: pre-wrap; border-radius: 3px; display: inline; + vertical-align: baseline; } .stab.portability > code { |
