Skip to content

Commit 3fa6514

Browse files
committed
fix scrollbar bug in my resume project
1 parent 44518c9 commit 3fa6514

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

assets/css/styles.css

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ body {
120120
background-color: var(--body-color);
121121
color: var(--text-color);
122122
overflow: hidden;
123-
overflow-y: scroll;
123+
overflow-y: hidden;
124124
}
125125
main {
126126
overflow: hidden;
@@ -943,7 +943,7 @@ textarea {
943943
/*========== SCROLL UP ==========*/
944944
.scrollup {
945945
position: fixed;
946-
right: 1rem;
946+
right: 3rem;
947947
bottom: -20%;
948948
background-color: var(--first-color);
949949
opacity: 0.8;
@@ -969,7 +969,6 @@ textarea {
969969

970970
/*========== SCROLL BAR ==========*/
971971
::-webkit-scrollbar {
972-
width: 0.6rem;
973972
background-color: var(--scroll-bar-color);
974973
border-radius: 0.5rem;
975974
}

0 commit comments

Comments
 (0)