aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortaehoon <th.dev91@gmail.com>2019-07-07 22:47:32 -0400
committertaehoon <th.dev91@gmail.com>2019-10-24 15:15:33 -0400
commit2f7f6967fdb5e11cd866cb0d15a0d50bf4e00ed7 (patch)
treee0f1818e7a5bab1eb634ab9cb65a605754078b26 /src
parente834b9d88b8373d6647b6f9bab61a52885f9eb7a (diff)
fix popper go behind the top bar
Diffstat (limited to 'src')
-rw-r--r--src/components/status/status.vue7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/components/status/status.vue b/src/components/status/status.vue
index daba7efc..79fbe47d 100644
--- a/src/components/status/status.vue
+++ b/src/components/status/status.vue
@@ -176,7 +176,12 @@
>
<Popper
ref="statusPreviewPopper"
- :options="{ placement: 'top-start' }"
+ :options="{
+ placement: 'top-start',
+ modifiers: {
+ preventOverflow: { padding: 50, boundariesElement: 'viewport' },
+ }
+ }"
@show="replyEnter(status.in_reply_to_status_id)"
>
<div class="popper-wrapper status-preview">