From 5c5845f3f278fbcf88eacb7fd15d4c92e481016b Mon Sep 17 00:00:00 2001 From: Penar Musaraj Date: Thu, 10 Oct 2019 21:35:36 -0400 Subject: [PATCH] FIX: Minor Github onebox layout issues - prevents long branch names from overflowing - fixes alignment of inline avatars in preview --- 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 e707724b4d9..b735363b855 100644 --- a/app/assets/stylesheets/common/base/onebox.scss +++ b/app/assets/stylesheets/common/base/onebox.scss @@ -412,6 +412,9 @@ pre.onebox code { .branches { font-size: $font-down-1; + code { + word-break: break-all; + } } .github-info { @@ -445,6 +448,7 @@ pre.onebox code { border-radius: 2px; float: none; margin: 0; + padding: 0; vertical-align: middle; max-width: none; }