fix context menu alignements in controls

This commit is contained in:
Tixie
2020-02-22 20:45:49 +01:00
parent 28d4765a6d
commit 9f1c03e0ac
3 changed files with 9 additions and 4 deletions

View File

@ -14,7 +14,7 @@
</div>
</div>
{#if $next}
<Popper>
<Popper needOffset={true}>
<button slot="btn" class="track__menu" aria-label="track menu"><IconMenu></IconMenu></button>
<div slot="content" class="contextMenu__list">
<ContextMenu track={$next}></ContextMenu>
@ -36,7 +36,7 @@
<DistanceDate date={track.referer.date} />
</div>
</div>
<Popper>
<Popper needOffset={true}>
<button slot="btn" class="track__menu" aria-label="track menu"><IconMenu></IconMenu></button>
<div slot="content" class="contextMenu__list">
<ContextMenu track={track}></ContextMenu>