From 6e2cfc504648de4d4642dcc4d4a3e322f3830735 Mon Sep 17 00:00:00 2001 From: yashjawale Date: Mon, 27 Apr 2026 17:55:37 +0530 Subject: [PATCH] fix: add break-word styling to theme link elements in twenty twenty-five and twenty twenty-four --- src/wp-content/themes/twentytwentyfive/theme.json | 3 ++- src/wp-content/themes/twentytwentyfour/theme.json | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/wp-content/themes/twentytwentyfive/theme.json b/src/wp-content/themes/twentytwentyfive/theme.json index 7daeb0dbd749d..efd0947b0d82d 100644 --- a/src/wp-content/themes/twentytwentyfive/theme.json +++ b/src/wp-content/themes/twentytwentyfive/theme.json @@ -681,7 +681,8 @@ "typography": { "textDecoration": "none" } - } + }, + "css": "& { overflow-wrap: break-word; word-wrap: break-word; }" } } }, diff --git a/src/wp-content/themes/twentytwentyfour/theme.json b/src/wp-content/themes/twentytwentyfour/theme.json index 134da2894ea44..d6c0e50622933 100644 --- a/src/wp-content/themes/twentytwentyfour/theme.json +++ b/src/wp-content/themes/twentytwentyfour/theme.json @@ -907,7 +907,7 @@ "fontWeight": "400", "lineHeight": "1.55" }, - "css": ":where(.wp-site-blocks *:focus){outline-width:2px;outline-style:solid}" + "css": ":where(.wp-site-blocks *:focus){outline-width:2px;outline-style:solid} a { overflow-wrap: break-word; word-wrap: break-word; }" }, "templateParts": [ {