From 52d7cd04617e8a255b3b44e8ec6b881390c95fd3 Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Sun, 21 Oct 2018 14:47:41 +1030 Subject: [PATCH] Prevent long words/content from stretching the discussion list width --- framework/core/less/common/sideNav.less | 1 + framework/core/less/forum/DiscussionListItem.less | 1 + 2 files changed, 2 insertions(+) diff --git a/framework/core/less/common/sideNav.less b/framework/core/less/common/sideNav.less index e996b86da..dc33857e2 100644 --- a/framework/core/less/common/sideNav.less +++ b/framework/core/less/common/sideNav.less @@ -123,5 +123,6 @@ .sideNavOffset { margin-top: 30px; flex: 1; + min-width: 0; } } diff --git a/framework/core/less/forum/DiscussionListItem.less b/framework/core/less/forum/DiscussionListItem.less index c531dbd9b..a06c9e652 100644 --- a/framework/core/less/forum/DiscussionListItem.less +++ b/framework/core/less/forum/DiscussionListItem.less @@ -87,6 +87,7 @@ font-size: 12px; line-height: 1.5em; display: block; + word-break: break-word; .DiscussionPage-list & { margin-right: 0;