From 824212f6c9953f2648fae760a2db73c3ca6b97ee Mon Sep 17 00:00:00 2001 From: bjarnef Date: Sun, 15 Feb 2015 22:20:34 +0100 Subject: [PATCH 1/3] Keep headline at same position I made a small change to make sure the headline is in same position regardless it is editable or readonly. --- src/Umbraco.Web.UI.Client/src/less/panel.less | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Umbraco.Web.UI.Client/src/less/panel.less b/src/Umbraco.Web.UI.Client/src/less/panel.less index 7fc2d061ea..7c152cebae 100644 --- a/src/Umbraco.Web.UI.Client/src/less/panel.less +++ b/src/Umbraco.Web.UI.Client/src/less/panel.less @@ -48,6 +48,7 @@ background: none; margin: 15px 0 0 20px; padding: 3px 5px; + line-height: 1.4; height: auto; width: 100%; border: 1px solid @grayLighter; From 5579823b2d48d04b572425e34ac680101dc53e74 Mon Sep 17 00:00:00 2001 From: bjarnef Date: Mon, 16 Feb 2015 00:11:41 +0100 Subject: [PATCH 2/3] Remove padding-left from h1 in modal-left Removed left-padding from h1 in umb-modal-left to align it with the other text in the modal. --- src/Umbraco.Web.UI.Client/src/less/modals.less | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Umbraco.Web.UI.Client/src/less/modals.less b/src/Umbraco.Web.UI.Client/src/less/modals.less index dbfd4d7841..7e7aeb5c36 100644 --- a/src/Umbraco.Web.UI.Client/src/less/modals.less +++ b/src/Umbraco.Web.UI.Client/src/less/modals.less @@ -63,6 +63,7 @@ .umb-modal-left .umb-panel-header .umb-headline, .umb-modal-left .umb-panel-header h1 { width: auto; + padding-left: 0; } /* umb.dialog is used for the dialogs on the conent tree*/ From df5c5e78ffbd78de811f6ca22da9861cbc434dd4 Mon Sep 17 00:00:00 2001 From: bjarnef Date: Mon, 16 Feb 2015 20:58:40 +0100 Subject: [PATCH 3/3] Headline was cuttet off in Firefox In Firefox 35.0.1 the headline was cuttet off. The 1.4 line-height in commit 824212f6c9953f2648fae760a2db73c3ca6b97ee ensure the headline isn't cuttet off. However line-height: normal act as fallback as 1em it too little and cause the text might be cuttet off. --- src/Umbraco.Web.UI.Client/src/less/panel.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Umbraco.Web.UI.Client/src/less/panel.less b/src/Umbraco.Web.UI.Client/src/less/panel.less index 7c152cebae..4fed599ddc 100644 --- a/src/Umbraco.Web.UI.Client/src/less/panel.less +++ b/src/Umbraco.Web.UI.Client/src/less/panel.less @@ -92,7 +92,7 @@ margin: -6px 0 0 0; padding: 0 0 2px 0; border-radius: 0; - line-height: 1em; + line-height: normal; border: 1px solid transparent; color: @black; letter-spacing: -0.01em