diff options
| author | Shpuld Shpuldson <shp@cock.li> | 2020-07-03 12:56:31 +0300 |
|---|---|---|
| committer | Shpuld Shpuldson <shp@cock.li> | 2020-07-03 12:56:31 +0300 |
| commit | 21d1f557f64cceda54755e2817d4799f1dbbea4f (patch) | |
| tree | 0f0ba7c61651990bed648ee2ec26a3b118dc491f /src/components/popover/popover.vue | |
| parent | 961099d34a3852d1019a00d390ad638fe45118e4 (diff) | |
change styles for the dropdown, make things work nicely on mobile
Diffstat (limited to 'src/components/popover/popover.vue')
| -rw-r--r-- | src/components/popover/popover.vue | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/components/popover/popover.vue b/src/components/popover/popover.vue index a271cb1b..5c99c509 100644 --- a/src/components/popover/popover.vue +++ b/src/components/popover/popover.vue @@ -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); |
