Fix overflowing text on mobile when sidebar is displayed

This commit is contained in:
Guillaume Gomez 2021-02-01 17:21:49 +01:00
parent a2f8f62818
commit 899b0dd1d1

View File

@ -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);
}