diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2018-10-19 01:34:46 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2018-10-27 14:05:34 +0200 |
| commit | 2fd378b82b14f2746462018e8510e15a079818a0 (patch) | |
| tree | 2baed95cf3c4dbce69c52c37c8b69e9e04da3dcf /src/librustdoc/html/static/rustdoc.css | |
| parent | 42c11de47b6b1da71537eb161b102177d798a08d (diff) | |
Fix sub-variant doc display
Diffstat (limited to 'src/librustdoc/html/static/rustdoc.css')
| -rw-r--r-- | src/librustdoc/html/static/rustdoc.css | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/src/librustdoc/html/static/rustdoc.css b/src/librustdoc/html/static/rustdoc.css index c0951d9f840..8bcb828a5ad 100644 --- a/src/librustdoc/html/static/rustdoc.css +++ b/src/librustdoc/html/static/rustdoc.css @@ -517,6 +517,10 @@ h4 > code, h3 > code, .invisible > code { margin-top: -13px; } +.sub-variant > div > .stability { + margin-top: initial; +} + .content .stability::before { content: '˪'; font-size: 30px; @@ -866,7 +870,23 @@ span.since { } .sub-variant, .sub-variant > h3 { - margin-top: 0 !important; + margin-top: 1px !important; +} + +#main > .sub-variant > h3 { + font-size: 15px; + margin-left: 25px; + margin-bottom: 5px; +} + +.sub-variant > div { + margin-left: 20px; + margin-bottom: 10px; +} + +.sub-variant > div > span { + display: block; + position: relative; } .toggle-label { |
