Merge pull request #224 from creative-commoners/pulls/3.0/multiclass-ux-updates

FIX Minor UX tweak to add new multi class button, removing empty space and padding
This commit is contained in:
Dylan Wagstaff 2017-11-09 10:21:05 +13:00 committed by GitHub
commit 0203e33117
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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>