From d048bca04b6b4af2c8093e767b7d0e7f5983a6c8 Mon Sep 17 00:00:00 2001 From: LasseStaus Date: Mon, 3 Jun 2024 14:42:36 +0200 Subject: [PATCH] Ensure sidebar menu items do not overflow container. Long menu item names were overflowing the sidebar menu container. This should prevent that from happening. DDFFORM-812 --- src/stories/Library/header-sidebar-nav/header-sidebar-nav.scss | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/stories/Library/header-sidebar-nav/header-sidebar-nav.scss b/src/stories/Library/header-sidebar-nav/header-sidebar-nav.scss index 0d24b209a..7a162c98e 100644 --- a/src/stories/Library/header-sidebar-nav/header-sidebar-nav.scss +++ b/src/stories/Library/header-sidebar-nav/header-sidebar-nav.scss @@ -42,6 +42,8 @@ $_menu_animation_delay: 0.2s; text-decoration: none; position: relative; display: inline-block; + white-space: normal; + word-break: break-word; } .header__menu-navigation-link::after {