From e95182d5915ef96a185fdb0dd5362ae90a0936d8 Mon Sep 17 00:00:00 2001 From: Robbie Averill Date: Tue, 7 Nov 2017 11:25:53 +1300 Subject: [PATCH] FIX Minor UX tweak to add new multi class button, removing empty space and padding --- css/GridFieldExtensions.css | 4 ++++ .../Symbiote/GridFieldExtensions/GridFieldAddNewMultiClass.ss | 4 +--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/css/GridFieldExtensions.css b/css/GridFieldExtensions.css index 6b9ef60..9c91376 100644 --- a/css/GridFieldExtensions.css +++ b/css/GridFieldExtensions.css @@ -83,6 +83,10 @@ margin: 0 4px 0 0; } +.ss-gridfield-add-new-multi-class .form-group { + padding-bottom: 0; +} + .cms-edit-form:not(.AssetAdmin) .ss-gridfield-add-new-multi-class .form-group .form__field-holder { display: inline; padding: 0; diff --git a/templates/Symbiote/GridFieldExtensions/GridFieldAddNewMultiClass.ss b/templates/Symbiote/GridFieldExtensions/GridFieldAddNewMultiClass.ss index 5bf2952..9bc1861 100644 --- a/templates/Symbiote/GridFieldExtensions/GridFieldAddNewMultiClass.ss +++ b/templates/Symbiote/GridFieldExtensions/GridFieldAddNewMultiClass.ss @@ -1,7 +1,5 @@
$ClassField.FieldHolder - - $Title - + $Title