FIX Minor UX tweak to add new multi class button, removing empty space and padding

This commit is contained in:
Robbie Averill 2017-11-07 11:25:53 +13:00
parent 40ed8c7f49
commit e95182d591
2 changed files with 5 additions and 3 deletions

View File

@ -83,6 +83,10 @@
margin: 0 4px 0 0; 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 { .cms-edit-form:not(.AssetAdmin) .ss-gridfield-add-new-multi-class .form-group .form__field-holder {
display: inline; display: inline;
padding: 0; padding: 0;

View File

@ -1,7 +1,5 @@
<div class="ss-gridfield-add-new-multi-class"> <div class="ss-gridfield-add-new-multi-class">
$ClassField.FieldHolder $ClassField.FieldHolder
<a href="#" data-href="$Link" data-add-multiclass class="btn btn-primary font-icon-plus btn__addnewmulticlass" data-icon="add"> <a href="#" data-href="$Link" data-add-multiclass class="btn btn-primary font-icon-plus btn__addnewmulticlass" data-icon="add">$Title</a>
$Title
</a>
</div> </div>