diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-08-20 19:45:14 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-20 19:45:14 +0200 |
| commit | aaa5574a18e679a21232ad0dd93d35216f80568b (patch) | |
| tree | b4aa8399cab75efa93aa35b9ea14d3c0c40daa1a /src/librustdoc/html/static/css | |
| parent | e81b994868502bfcfc9e497c8c930d5b68d2398e (diff) | |
| parent | 0df1c690231c108fcfaa3ba3e22be37fa4fb8fc4 (diff) | |
| download | rust-aaa5574a18e679a21232ad0dd93d35216f80568b.tar.gz rust-aaa5574a18e679a21232ad0dd93d35216f80568b.zip | |
Rollup merge of #100718 - GuillaumeGomez:fix-item-info, r=jsha
[rustdoc] Fix item info display Fixes #100369. The solution I came up with was simply to wrap the "text part" of the `item-info` into another span so that `flex` wouldn't mess with it. Live demo is [here](https://rustdoc.crud.net/imperio/fix-item-info/foo/struct.ItemInfo.html). r? ``@jsha``
Diffstat (limited to 'src/librustdoc/html/static/css')
| -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 8d0bcb7519b..b1fa5e7d86d 100644 --- a/src/librustdoc/html/static/css/rustdoc.css +++ b/src/librustdoc/html/static/css/rustdoc.css @@ -1164,6 +1164,7 @@ so that we can apply CSS-filters to change the arrow color in themes */ .stab .emoji { font-size: 1.25rem; + margin-right: 0.3rem; } /* Black one-pixel outline around emoji shapes */ |
