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

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">