Skip to content

Commit

Permalink
dropdowns now get a scrollbar when too long and the scrollbar ruler n…
Browse files Browse the repository at this point in the history
…ow has fitting color
  • Loading branch information
patrickwieth committed Dec 2, 2024
1 parent e04e8f9 commit 8038028
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/assets/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

/* Handle */
::-webkit-scrollbar-thumb {
background: #555;
background: #4E0723;
border-radius: 5px;
}

Expand Down
2 changes: 1 addition & 1 deletion src/components/elements/Dropdown/Dropdown.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
</div>
<ul
v-if="isOpen"
class="absolute z-30 ring ring-white rounded ring-opacity-100 whitespace-nowrap"
class="absolute z-30 ring ring-white rounded ring-opacity-100 whitespace-nowrap max-h-[30rem] overflow-auto"
:class="[getBgColor(type)]"
>
<li
Expand Down

0 comments on commit 8038028

Please sign in to comment.