From 4d612ed5253ef7c6bf04c80809592ca6131b828c Mon Sep 17 00:00:00 2001 From: Suzanne Aitchison Date: Fri, 4 Mar 2022 16:12:35 +0000 Subject: [PATCH] Prevent hidden link skewing layout of home page (#16773) * Prevent hidden link skewing layout of home page * add some contextual notes --- app/assets/stylesheets/components/stories.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/assets/stylesheets/components/stories.scss b/app/assets/stylesheets/components/stories.scss index 17648fa5f..7c2731daf 100644 --- a/app/assets/stylesheets/components/stories.scss +++ b/app/assets/stylesheets/components/stories.scss @@ -46,6 +46,11 @@ right: 0; bottom: 0; left: 0; + + // Prevent long title content skewing layout + // overflow-wrap: anywhere isn't supported in Safari, in which case this fallback applies + overflow-wrap: break-word; + overflow-wrap: anywhere; } // Defining additional colors.