Skip to content

Fix 2FA page columns overflowing at high display scale#19710

Open
Redslayer112 wants to merge 1 commit intopypi:mainfrom
Redslayer112:fix-2fa-page-width
Open

Fix 2FA page columns overflowing at high display scale#19710
Redslayer112 wants to merge 1 commit intopypi:mainfrom
Redslayer112:fix-2fa-page-width

Conversation

@Redslayer112
Copy link

Closes #18270

The first column of the 2FA page was using flex-shrink: 0, preventing
it from shrinking to share space with the second column. At high display
scale factors this caused the second column to overflow off screen.

Replaced with flex: 1 on both columns so they share horizontal space
equally regardless of content size or display scale.

Note: reproducing this bug locally requires an account with both a security
key and an authenticator app configured. The fix is a one-line CSS change
replacing flex-shrink: 0 on the first column with flex: 1 on both columns.

@Redslayer112 Redslayer112 requested a review from a team as a code owner March 19, 2026 06:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2FA page is too wide

1 participant