Fixed dropdown height to inherit from parent component
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user