fix: decreased scrollbar width to avoid overlap small width component (#3432)

This commit is contained in:
Faisal Amir 2024-08-22 11:17:51 +07:00 committed by GitHub
parent 77fd1728b9
commit 35f68511fb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 5 deletions

View File

@ -44,17 +44,17 @@
}
.scroll-area__bar[data-orientation='vertical'] {
width: 10px;
width: 8px;
}
.scroll-area__bar[data-orientation='horizontal'] {
flex-direction: column;
height: 10px;
height: 8px;
}
::-webkit-scrollbar {
width: 10px;
height: 10px;
width: 8px;
height: 8px;
}
::-webkit-scrollbar-track,
::-webkit-scrollbar-thumb {

View File

@ -387,7 +387,7 @@ const ModelDropdown = ({
key={i}
>
<div className="mt-2">
<div className="flex items-center justify-between px-3">
<div className="flex items-center justify-between px-4">
<div
className="flex w-full cursor-pointer items-center gap-2 py-1"
onClick={onClickChevron}