Skip to content

Commit b55b56a

Browse files
committed
chore: fix popup position on RTL
1 parent 08145a0 commit b55b56a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/pages/about.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ function getAriaLabel(c: GitHubContributor): string {
387387
<div
388388
id="shared-contributor-popover"
389389
popover="manual"
390-
class="fixed top-0 inset-is-0 m-0 border-none bg-transparent p-0 overflow-visible opacity-0 invisible transition-[opacity,visibility] duration-150 ease-out allow-discrete popover-open:(opacity-100 visible) z-40"
390+
class="fixed top-0 force-left-0 m-0 border-none bg-transparent p-0 overflow-visible opacity-0 invisible transition-[opacity,visibility] duration-150 ease-out allow-discrete popover-open:(opacity-100 visible) z-40"
391391
@mouseenter="cancelClose"
392392
@mouseleave="onMouseLeave"
393393
>
@@ -498,7 +498,7 @@ function getAriaLabel(c: GitHubContributor): string {
498498

499499
<div
500500
aria-hidden="true"
501-
class="popover-arrow absolute inset-is-1/2 z-0 h-3 w-3 border-border-subtle bg-bg-elevated will-change-transform"
501+
class="popover-arrow absolute force-left-1/2 z-0 h-3 w-3 border-border-subtle bg-bg-elevated will-change-transform"
502502
:class="
503503
isFlipped ? 'top-[-6px] border-te border-is' : 'bottom-[-6px] border-be border-ie'
504504
"
@@ -515,7 +515,7 @@ function getAriaLabel(c: GitHubContributor): string {
515515
display: none;
516516
}
517517
[popover] {
518-
@apply top-0 inset-is-0;
518+
@apply top-0 force-left-0 force-right-unset;
519519
will-change: transform, opacity;
520520
transition:
521521
opacity 0.15s ease-out,

0 commit comments

Comments
 (0)