fix popper go behind the top bar

This commit is contained in:
taehoon 2019-07-07 22:47:32 -04:00
parent e834b9d88b
commit 2f7f6967fd
1 changed files with 6 additions and 1 deletions

View File

@ -176,7 +176,12 @@
> >
<Popper <Popper
ref="statusPreviewPopper" ref="statusPreviewPopper"
:options="{ placement: 'top-start' }" :options="{
placement: 'top-start',
modifiers: {
preventOverflow: { padding: 50, boundariesElement: 'viewport' },
}
}"
@show="replyEnter(status.in_reply_to_status_id)" @show="replyEnter(status.in_reply_to_status_id)"
> >
<div class="popper-wrapper status-preview"> <div class="popper-wrapper status-preview">