From 2850bdab466f869497a92e60f2d356c3a1e18ec8 Mon Sep 17 00:00:00 2001 From: Anupkankale Date: Thu, 24 Sep 2026 06:01:13 +0000 Subject: [PATCH] Application Passwords: Wrap long application names on the Authorize Application screen. An application name with no spaces overflowed the card on `authorize-application.php`, pushing the text outside the card and past the viewport. The name is rendered inside `.auth-app-card > p > strong`, which had no wrapping rule. This adds `overflow-wrap: break-word` to the card's paragraphs. The property is inherited, so the `` holding the name wraps with it. Props JeffPaul, pratiklondhe, gsalo, ozgursar, tushar-addweb, priyanshuhaldar007, anupkankale. See #62064. Co-Authored-By: Claude Opus 5 --- src/wp-admin/css/forms.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/wp-admin/css/forms.css b/src/wp-admin/css/forms.css index 0475984e19105..484ad4dc598fd 100644 --- a/src/wp-admin/css/forms.css +++ b/src/wp-admin/css/forms.css @@ -1079,6 +1079,11 @@ table.form-table td .updated p { max-width: 768px; } +/* Allow a long application name with no spaces to wrap inside the card. */ +.auth-app-card p { + overflow-wrap: break-word; +} + .authorize-application-php .form-wrap p { display: block; }