From ae64047ce90517e15fc97a0fa17011d4bfcb04b9 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Sun, 11 Oct 2026 22:23:38 -0400 Subject: [PATCH] fix: Only break the redirect URL mid-word on the consent screen break-all on the whole notice split words such as "continue" in the loopback warning. It now applies only to the redirect URL. --- app/scenes/Login/OAuthAuthorize.tsx | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/app/scenes/Login/OAuthAuthorize.tsx b/app/scenes/Login/OAuthAuthorize.tsx index b990e4359e..8555a12e09 100644 --- a/app/scenes/Login/OAuthAuthorize.tsx +++ b/app/scenes/Login/OAuthAuthorize.tsx @@ -263,7 +263,7 @@ function Authorize() { ) )} - + {isLoopback && clientHost ? ( , + em: , }} /> )} @@ -336,6 +336,11 @@ const StyledHeading = styled(Heading).attrs({ margin-top: 0; `; +// Only the URL may break mid-word, so long URLs wrap without splitting prose. +const RedirectUri = styled.strong` + word-break: break-all; +`; + const Pre = styled.pre` background: ${s("backgroundSecondary")}; padding: 16px;