From 8472b48ba8741aa329ebf4cd9b93093030ffd82c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20Lyngs=C3=B8?= Date: Wed, 3 Apr 2019 15:45:41 +0200 Subject: [PATCH] use text-overflow for better look in narrow screens --- .../src/less/components/editor.less | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/Umbraco.Web.UI.Client/src/less/components/editor.less b/src/Umbraco.Web.UI.Client/src/less/components/editor.less index c364f02d0e..aa3b83ed6c 100644 --- a/src/Umbraco.Web.UI.Client/src/less/components/editor.less +++ b/src/Umbraco.Web.UI.Client/src/less/components/editor.less @@ -166,9 +166,15 @@ a.umb-editor-header__close-split-view:hover { height: 30px; text-decoration: none !important; font-size: 13px; - //color: @gray-4; color: @ui-action-discreet-type; - //background-color: @white; + + max-width: 50%; + white-space: nowrap; + + span { + text-overflow: ellipsis; + overflow: hidden; + } } a.umb-variant-switcher__toggle {