Popover overflow bugs fixed

This commit is contained in:
Juan 2018-07-03 13:24:42 +02:00
parent 6f07ae3c5c
commit 2b03f656c8
2 changed files with 6 additions and 6 deletions

View File

@ -5,6 +5,7 @@ vn-drop-down {
.dropdown { .dropdown {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
height: inherit;
& > .filter { & > .filter {
position: relative; position: relative;

View File

@ -19,8 +19,8 @@
} }
& > .popover { & > .popover {
position: absolute; position: absolute;
display: flex;
box-shadow: 0 .1em .4em rgba(1, 1, 1, .4); box-shadow: 0 .1em .4em rgba(1, 1, 1, .4);
z-index: 0;
& > .arrow { & > .arrow {
width: 1em; width: 1em;
@ -30,14 +30,13 @@
box-shadow: 0 .1em .4em rgba(1, 1, 1, .4); box-shadow: 0 .1em .4em rgba(1, 1, 1, .4);
position: absolute; position: absolute;
transform: rotate(45deg); transform: rotate(45deg);
z-index: 0; z-index: -1;
} }
& > .content { & > .content {
width: 100%;
border-radius: .1em; border-radius: .1em;
overflow: auto;
background-color: white; background-color: white;
z-index: 1; height: inherit;
overflow: auto;
} }
} }
} }