fix(web): anchor avatar-popover to left in RTL so it doesn't clip off-screen (#2719) (#2764)

In RTL the settings cog moves to the left side of the header, but
.avatar-popover still used right: 0 from the LTR rule, pushing the
280px popup off-screen to the left. Mirror the existing
entry-help-popover RTL pattern with right: auto; left: 0 so the
popover stays in view.

Fixes #2719
This commit is contained in:
Muhammad Adnan R 2026-05-23 22:11:31 +07:00 committed by GitHub
parent ed5d569c57
commit f8d71fdcb3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1529,6 +1529,10 @@ code {
flex-direction: column;
gap: 2px;
}
[dir="rtl"] .avatar-popover {
right: auto;
left: 0;
}
.avatar-popover-head {
padding: 10px 10px 8px;
display: flex;