aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/components/react_button/react_button.vue14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/components/react_button/react_button.vue b/src/components/react_button/react_button.vue
index 95d95b11..e508a3e9 100644
--- a/src/components/react_button/react_button.vue
+++ b/src/components/react_button/react_button.vue
@@ -4,6 +4,7 @@
placement="top"
:offset="{ y: 5 }"
class="react-button-popover"
+ :bound-to="{ x: 'container' }"
>
<div
slot="content"
@@ -37,12 +38,13 @@
<div class="reaction-bottom-fader" />
</div>
</div>
- <FAIcon
- slot="trigger"
- class="fa-scale-110 fa-old-padding add-reaction-button"
- :icon="['far', 'smile-beam']"
- :title="$t('tool_tip.add_reaction')"
- />
+ <span slot="trigger">
+ <FAIcon
+ class="fa-scale-110 fa-old-padding add-reaction-button"
+ :icon="['far', 'smile-beam']"
+ :title="$t('tool_tip.add_reaction')"
+ />
+ </span>
</Popover>
</template>