mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-28 11:07:42 +00:00
Rollup merge of #80738 - arusahni:master, r=GuillaumeGomez
Remove bottom margin from crate version when the docs sidebar is collapsed This fixes a mobile UI bug where a vertical scrollbar would always be rendered on the sidebar nav when the menu was closed. When opened, the overflow would be handled by the opened sidebar, causing the scrollbar to disappear, and the contents to shift to the right. ## Firefox **Before**   **After**   ## Chrome **Before**  **After** 
This commit is contained in:
commit
94a27f2617
@ -1412,6 +1412,7 @@ h4 > .notable-traits {
|
||||
.sidebar > .block.version {
|
||||
border-bottom: none;
|
||||
margin-top: 12px;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
nav.sub {
|
||||
|
Loading…
Reference in New Issue
Block a user