Fixed dropdown height to inherit from parent component

This commit is contained in:
ajdj100
2024-05-07 14:56:31 -04:00
parent 824a1362b8
commit bb925aa87d

View File

@@ -53,7 +53,7 @@ function selectOption(index) {
<div ref="dropdownRef" class="relative">
<!-- list button -->
<button @click="toggleMenu"
class="relative w-full h-10 bg-gray-dark text-white px-4 rounded-md hover:bg-blue transition-colors py-2 pr-8"
class="relative w-full h-full bg-gray-dark text-white px-4 rounded-md hover:bg-blue transition-colors py-2 pr-8"
:class="{ 'rounded-b-none border-b border-b-gray-600': showMenu }">
<span class="block w-full text-left"> {{ values[currentIndex][display] }}</span>
<span class="absolute bottom-3 right-2">