diff options
| author | Shpuld Shpuldson <shp@cock.li> | 2020-12-04 11:20:01 +0200 |
|---|---|---|
| committer | Shpuld Shpuldson <shp@cock.li> | 2020-12-04 11:20:01 +0200 |
| commit | 1fd1553a1c06f22ce5718b16814d0f03688fdc06 (patch) | |
| tree | 6416934d1cf657b4b7fe27f628add4940c356a74 /src/components/popover/popover.vue | |
| parent | 15bed586dcd1d10a6a05c664cf5bab72cdbf2a46 (diff) | |
| parent | 42c747a342cd7d435dcbe411276ac4999ff92395 (diff) | |
Merge branch 'develop' into feat/report-notification
Diffstat (limited to 'src/components/popover/popover.vue')
| -rw-r--r-- | src/components/popover/popover.vue | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/components/popover/popover.vue b/src/components/popover/popover.vue index 9b8680e5..020eab05 100644 --- a/src/components/popover/popover.vue +++ b/src/components/popover/popover.vue @@ -3,12 +3,13 @@ @mouseenter="onMouseenter" @mouseleave="onMouseleave" > - <div + <button ref="trigger" + class="button-unstyled -fullwidth popover-trigger-button" @click="onClick" > <slot name="trigger" /> - </div> + </button> <div v-if="!hidden" ref="content" @@ -30,6 +31,10 @@ <style lang="scss"> @import '../../_variables.scss'; +.popover-trigger-button { + display: block; +} + .popover { z-index: 8; position: absolute; |
