change styles for the dropdown, make things work nicely on mobile

This commit is contained in:
Shpuld Shpuldson 2020-07-03 12:56:31 +03:00
parent 961099d34a
commit 21d1f557f6
13 changed files with 204 additions and 66 deletions

View file

@ -14,7 +14,7 @@
ref="content"
:style="styles"
class="popover"
:class="popoverClass"
:class="popoverClass || 'popover-default'"
>
<slot
name="content"
@ -34,6 +34,9 @@
z-index: 8;
position: absolute;
min-width: 0;
}
.popover-default {
transition: opacity 0.3s;
box-shadow: 1px 1px 4px rgba(0,0,0,.6);