From 864624e662114cea1f43a0243bf85790ee1dd02d Mon Sep 17 00:00:00 2001 From: Ryan O'Hara Date: Mon, 13 Aug 2012 17:56:41 +1200 Subject: [PATCH] BUGFIX: Fix actions panel margin when adding a document --- css/DMSDocumentCMSFields.css | 1 + scss/DMSDocumentCMSFields.scss | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/css/DMSDocumentCMSFields.css b/css/DMSDocumentCMSFields.css index ada8fcb..5c6a5ca 100644 --- a/css/DMSDocumentCMSFields.css +++ b/css/DMSDocumentCMSFields.css @@ -26,6 +26,7 @@ form.small .field input.text, form.small .field textarea, form.small .field sele #Actions li.dms-active:after { content: ''; display: block; position: absolute; top: 33px; left: 50%; margin-left: -6px; width: 12px; height: 12px; background: #F8F8F8; border-right: 1px solid #B3B3B3; border-top: 1px solid #B3B3B3; -moz-transform: rotate(-45deg); -webkit-transform: rotate(-45deg); pointer-events: none; } #ActionsPanel .middleColumn { margin-left: 184px; } +form.small #ActionsPanel .middleColumn { margin-left: 120px; } #ActionsPanel label.fieldholder-small-label { display: none; } #ActionsPanel .fieldgroup-field { float: none; width: auto; } #ActionsPanel .fieldgroup-field .fieldholder-small label { float: none; width: auto; margin: 0; padding: 0; } diff --git a/scss/DMSDocumentCMSFields.scss b/scss/DMSDocumentCMSFields.scss index 0007091..0760617 100644 --- a/scss/DMSDocumentCMSFields.scss +++ b/scss/DMSDocumentCMSFields.scss @@ -131,9 +131,11 @@ form.small .field .TreeDropdownField, } #ActionsPanel{ - //display: none; .middleColumn{ margin-left:184px; + form.small &{ + margin-left: 120px; + } } label.fieldholder-small-label{ display: none;