aboutsummaryrefslogtreecommitdiff
path: root/src/components/popover/popover.vue
diff options
context:
space:
mode:
authorShpuld Shpuldson <shp@cock.li>2020-12-02 12:48:21 +0200
committerShpuld Shpuldson <shp@cock.li>2020-12-02 12:48:21 +0200
commitb537032e6d07828db6fc016c1413970c436e19ad (patch)
treec6d89bdbcf112678dc63236653a6aea426eacf80 /src/components/popover/popover.vue
parent4dde9c4d529fb94b23b394aaa91e6a7cafd75777 (diff)
parentfdfb8810c1d8ab64969c38aa1a6bce1daf013249 (diff)
Merge branch 'develop' into fix/fix-error-handling-in-profile-tab
Diffstat (limited to 'src/components/popover/popover.vue')
-rw-r--r--src/components/popover/popover.vue9
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;