From a9f5af10659b864ddacbaf2782d5b6f1f826a1f4 Mon Sep 17 00:00:00 2001 From: David Taylor Date: Thu, 27 Oct 2022 18:16:18 +0100 Subject: [PATCH] UX: Allow linebreaks mid-word in github onebox file paths (#18777) --- app/assets/stylesheets/common/base/onebox.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/assets/stylesheets/common/base/onebox.scss b/app/assets/stylesheets/common/base/onebox.scss index b8d75d913ec..b35ae31a219 100644 --- a/app/assets/stylesheets/common/base/onebox.scss +++ b/app/assets/stylesheets/common/base/onebox.scss @@ -376,6 +376,10 @@ pre.onebox code ol.lines li:before { counter-increment: li-counter; } +.onebox.githubblob h4 { + word-break: break-all; +} + pre.onebox code ol { margin-left: 0; line-height: var(--line-height-large);