mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 07:44:10 +00:00
Fix overflowing text on mobile when sidebar is displayed
This commit is contained in:
parent
a2f8f62818
commit
899b0dd1d1
@ -1489,6 +1489,14 @@ h4 > .notable-traits {
|
||||
background-color: rgba(0,0,0,0);
|
||||
height: 100%;
|
||||
}
|
||||
/*
|
||||
This allows to prevent the version text to overflow the sidebar title on mobile mode when the
|
||||
sidebar is displayed (after clicking on the "hamburger" button).
|
||||
*/
|
||||
.sidebar.mobile > div.version {
|
||||
overflow: hidden;
|
||||
max-height: 33px;
|
||||
}
|
||||
.sidebar {
|
||||
width: calc(100% + 30px);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user