Fix dropdown from showing up behind elements

This commit is contained in:
Preston 2021-02-15 10:44:09 -05:00
parent 8d4ff5150f
commit 2208002894
2 changed files with 3 additions and 2 deletions

View File

@ -89,6 +89,7 @@
list-style: none; list-style: none;
margin: 0; margin: 0;
padding: 5px 0; padding: 5px 0;
z-index: 10;
border-radius: 0 0 5px 5px; border-radius: 0 0 5px 5px;
border: 1px #ccc solid; border: 1px #ccc solid;
background-color: white; background-color: white;
@ -104,4 +105,4 @@
.hover { .hover {
background-color: #ccc; background-color: #ccc;
/* color: white; */ /* color: white; */
} }

View File

@ -42,7 +42,7 @@
<ul <ul
v-if="inputData !== '' && dataList.length > 0 && searchState.showOptions" v-if="inputData !== '' && dataList.length > 0 && searchState.showOptions"
:id="idDataList" :id="idDataList"
:class="'list'" class="list"
@mouseenter="searchState.isPointerInList = true" @mouseenter="searchState.isPointerInList = true"
@mouseleave="searchState.isPointerInList = false" @mouseleave="searchState.isPointerInList = false"
> >