aboutsummaryrefslogtreecommitdiff
path: root/src/components/popover
diff options
context:
space:
mode:
authorShpuld Shpuldson <shp@cock.li>2020-11-24 21:35:14 +0200
committerShpuld Shpuldson <shp@cock.li>2020-11-24 21:35:14 +0200
commit1d178b7341d9848b64d5f2eb27338ac26f046a2a (patch)
treec892c5cfdd3e69434e376dfe73ec7452f794e6c7 /src/components/popover
parent04af772c1e8851bb8e4ce9b46e8146c0755309ed (diff)
fix too big hide button, fix weird 28px hack
Diffstat (limited to 'src/components/popover')
-rw-r--r--src/components/popover/popover.vue6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/components/popover/popover.vue b/src/components/popover/popover.vue
index 3868ec96..020eab05 100644
--- a/src/components/popover/popover.vue
+++ b/src/components/popover/popover.vue
@@ -5,7 +5,7 @@
>
<button
ref="trigger"
- class="button-unstyled -fullwidth"
+ class="button-unstyled -fullwidth popover-trigger-button"
@click="onClick"
>
<slot name="trigger" />
@@ -31,6 +31,10 @@
<style lang="scss">
@import '../../_variables.scss';
+.popover-trigger-button {
+ display: block;
+}
+
.popover {
z-index: 8;
position: absolute;