소스 검색

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 년 전
부모
커밋
99b8df2b26
1개의 변경된 파일10개의 추가작업 그리고 2개의 파일을 삭제
  1. +10
    -2
      gorge.css

+ 10
- 2
gorge.css 파일 보기

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


불러오는 중...
취소
저장