Account menu: a quarter wider, and a long name or address cut short rather than wrapped #834
Labels
No labels
accessibility
authentication
breaking change
bug
documentation
enhancement
interface
internationalisation
observability
performance
security
tier
1
tier
2
tier
3
tier/4
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Postulo/postulo#834
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The account menu should be about 25 % wider to fit long email addresses, and a very long address or name should be cut with an ellipsis, not wrapped.
What exists today
<c-dropdown-menu kind="navigation">attemplates/base.html:192-245. Its width is the global[data-popover] { @apply w-56 max-w-[calc(100vw-2rem)] }(assets/css/basecoat.css:182-184) shared by every popover: the + menu, row menus, More.truncate(base.html:207). The address isbreak-words(:213), on purpose (#282, comment:208-212): truncation would hide part of it under the text-spacing override (SC 1.4.12), and the full address was nowhere else on the page.What would change
data-account-menu) and a scoped rule giving its panelw-70(17.5 rem, 25 % over 14 rem), keeping themax-wclamp; the other popovers keepw-56.truncate, with the full text intitleand still in the accessibility tree.Decisions
titleshows it on hover; what is lost is only the visual wrap under a text-spacing override, for an address long enough to fill 17.5 rem.Tests find the menu by its Account menu label (
tests/e2e/test_direction.py:168-170,tests/e2e/test_keyboard_and_focus.py:88,103).Checked against
mainat8c3d03570. From the maintainer's improvements list of 2026-10-07.Fixed in
5179f1ca9on main.