Selaa lähdekoodia

Improve scrollbar behavior

Avoids showing the scrollbar if not needed, and also gets rid of the
scrollbar track
tags/v0.0.3
Fen Dweller 5 vuotta sitten
vanhempi
commit
99b8df2b26
1 muutettua tiedostoa jossa 10 lisäystä ja 2 poistoa
  1. +10
    -2
      gorge.css

+ 10
- 2
gorge.css Näytä tiedosto

@@ -73,6 +73,8 @@ button {
right: 5%;
top: 10%;
height: 90%;
max-height: 80vh;
padding-bottom: 10px;
overflow-x: hidden;
overflow-y: scroll;
}
@@ -83,6 +85,7 @@ button {
left: 50%;
width: 50%;
height: 45%;
max-height: 40vh;
}

}
@@ -217,6 +220,10 @@ button {
height: 35%;
width: 50%;
}

#upgrades-list {
max-height: 25vh !important;
}
}

.title {
@@ -228,7 +235,8 @@ button {
#upgrades-list {
display: flex;
flex-wrap: wrap;
height: 100%;
max-height: 70vh;
padding-bottom: 75px;
overflow-x: hidden;
overflow-y: scroll;
}
@@ -440,7 +448,7 @@ div::-webkit-scrollbar-thumb:active {
background: #000000;
}
div::-webkit-scrollbar-track {
background: #666666;
background: #00000000;
border: 0px none #ffffff;
border-radius: 50px;
}


Loading…
Peruuta
Tallenna