Fixed scroll

This commit is contained in:
MaxOvs19 2023-11-17 17:19:46 +03:00
parent 090c0cc01e
commit 0372cf6b74
2 changed files with 17 additions and 2 deletions

View File

@ -157,7 +157,7 @@
.comments__list { .comments__list {
display: flex; display: flex;
overflow-y: auto; overflow-y: auto;
height: 315px; height: 190px;
flex-direction: column; flex-direction: column;
&::-webkit-scrollbar { &::-webkit-scrollbar {

View File

@ -243,7 +243,7 @@
&__dropDown { &__dropDown {
max-height: 155px; max-height: 155px;
overflow-y: hidden; overflow-y: auto;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
position: absolute; position: absolute;
@ -265,6 +265,21 @@
} }
} }
} }
&::-webkit-scrollbar {
width: 3px;
border-radius: 10px;
}
&::-webkit-scrollbar-thumb {
background: #cbd9f9;
border-radius: 20px;
}
&::-webkit-scrollbar-track {
background: #c5c0c6;
border-radius: 20px;
}
} }
@media (max-width: 500px) { @media (max-width: 500px) {