From dcf44fed5820d76611200492159f21d1c549773a Mon Sep 17 00:00:00 2001 From: Hiroyasu Nishiyama Date: Tue, 5 Jun 2018 20:18:40 +0900 Subject: [PATCH 1/2] allow multi-line category name in editor --- editor/sass/palette.scss | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/editor/sass/palette.scss b/editor/sass/palette.scss index 34890b8b5..10fd60cad 100644 --- a/editor/sass/palette.scss +++ b/editor/sass/palette.scss @@ -90,13 +90,12 @@ text-align: left; padding: 9px; font-weight: bold; - overflow: hidden; - white-space: nowrap; - text-overflow: ellipsis; - + padding-left: 30px; } .palette-header > i { - margin: 3px 10px 3px 3px; + position: absolute; + left: 11px; + top: 12px; -webkit-transition: all 0.2s ease-in-out; -moz-transition: all 0.2s ease-in-out; -o-transition: all 0.2s ease-in-out; From 2cb4f6b1fccc16375181c7875dfb99af2772681d Mon Sep 17 00:00:00 2001 From: Nick O'Leary Date: Mon, 25 Jun 2018 13:54:34 +0100 Subject: [PATCH 2/2] Prevent horizontal scroll when palette name cannot wrap --- editor/sass/palette.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/editor/sass/palette.scss b/editor/sass/palette.scss index 10fd60cad..e83f929e2 100644 --- a/editor/sass/palette.scss +++ b/editor/sass/palette.scss @@ -91,6 +91,7 @@ padding: 9px; font-weight: bold; padding-left: 30px; + overflow: hidden; } .palette-header > i { position: absolute;