v4: the avatar menu opens from the avatar's left edge — since 7531be3 the avatar leads the header's icon row, but its menu still hung from its right edge, so on a phone it ran off the left of the screen. It now hangs from the left edge and opens over the icons. Checked in screenshots in Smooth at 390px and Brutalist at 320px, in French, and Kanagawa at 1100px.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
khannurien
2026-10-08 21:58:15 +00:00
parent 7531be300e
commit b9281da9c9

View File

@@ -3181,10 +3181,12 @@ body.has-player .chat-fab {
box-shadow: 0 0 0 2px var(--color-accent);
}
/* The avatar leads the header's icon row, so the menu hangs from its left
edge and opens over the icons: from its right edge, it ran off a phone. */
.user-menu-dropdown {
position: absolute;
top: calc(100% + 0.4rem);
right: 0;
left: 0;
min-width: 150px;
background: var(--color-surface);
border: var(--border-width) solid var(--color-border-subtle);