Fix layout scrolling when navigation bar is to tall

This commit is contained in:
Alice Gaudon 2020-05-05 21:44:50 +02:00
parent 6f4b64b304
commit 39db5c1d9d
2 changed files with 27 additions and 1 deletions

View File

@ -3,11 +3,19 @@ body {
flex-direction: row;
}
#navigation {
display: flex;
flex-direction: column;
height: 100%;
}
#service-selector {
flex-grow: 1;
display: block;
margin: 0;
padding: 0;
overflow-y: auto;
}
#service-selector [draggable] {

View File

@ -77,4 +77,22 @@ button:hover {
.hidden {
display: none;
}
}
::-webkit-scrollbar {
width: 8px;
background: rgba(0, 0, 0, 0.25);
}
::-webkit-scrollbar-button {
display: none;
}
::-webkit-scrollbar-track {
background-color: transparent;
}
::-webkit-scrollbar-thumb {
background-color: rgba(255, 255, 255, 0.5);
border-radius: 5px;
}