PhoenixKit 2.22.23: Account rows line up in the user menu
PhoenixKit 2.22.23 finishes the alignment fix for the account switcher in the user menu of the admin and the user dashboard.
The other signed-in accounts are buttons, and a button centres its text by default. An account with a short email therefore drifted to the right of the active account above it, by more the shorter the email was. The rows now start at the same edge, whatever the length of the email.
Full release notes: PhoenixKit 2.22.23
2.22.23 · 12 September 2026
Fixed
- The inactive account rows in the user dropdown still sat a few pixels right
of everything else. The row that switches accounts is a
<button>, which inherits the user-agenttext-align: center, and the email inside it isflex-1— so an email shorter than its column centred itself and drifted right of the active row, which is a<div>and starts at the text edge. The effect scaled with how much slack the email had, which is why it survived the structural alignment fix in 2.22.22. The button now carriestext-start.
PhoenixKit 2.22.23. Install or update: {:phoenix_kit, "~> 2.22"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.