diff options
| author | taehoon <th.dev91@gmail.com> | 2019-07-07 22:47:32 -0400 |
|---|---|---|
| committer | taehoon <th.dev91@gmail.com> | 2019-10-24 15:15:33 -0400 |
| commit | 2f7f6967fdb5e11cd866cb0d15a0d50bf4e00ed7 (patch) | |
| tree | e0f1818e7a5bab1eb634ab9cb65a605754078b26 /src/components/status/status.vue | |
| parent | e834b9d88b8373d6647b6f9bab61a52885f9eb7a (diff) | |
fix popper go behind the top bar
Diffstat (limited to 'src/components/status/status.vue')
| -rw-r--r-- | src/components/status/status.vue | 7 |
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"> |
