Skip to content

Commit

Permalink
fix: decreased scrollbar width to avoid overlap small width component (
Browse files Browse the repository at this point in the history
  • Loading branch information
urmauur authored Aug 22, 2024
1 parent 77fd172 commit 35f6851
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions joi/src/core/ScrollArea/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion web/containers/ModelDropdown/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit 35f6851

Please sign in to comment.