FIX: better alignment of badge selector and edit btn (#6651)

Input located at /admin/badges/new
This commit is contained in:
Joffrey JAFFEUX 2018-11-22 16:21:15 +01:00 committed by GitHub
parent e77cc44f07
commit 2843944315
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 5 deletions

View File

@ -32,11 +32,15 @@
<div>
<label for="badge_grouping_id">{{i18n 'admin.badges.badge_grouping'}}</label>
{{combo-box name="badge_grouping_id"
value=buffered.badge_grouping_id
content=badgeGroupings
nameProperty="name"}}
&nbsp;<button {{action "editGroupings"}} class='btn btn-icon btn-default'>{{d-icon 'pencil'}}</button>
<div class="badge-grouping-control">
{{combo-box name="badge_grouping_id"
value=buffered.badge_grouping_id
content=badgeGroupings
class="badge-selector"
nameProperty="name"}}
<button {{action "editGroupings"}} class='btn btn-icon no-text btn-default'>{{d-icon 'pencil'}}</button>
</div>
</div>

View File

@ -21,6 +21,15 @@
color: dark-light-choose($primary-medium, $secondary-medium);
font-size: $font-down-1;
}
.badge-grouping-control {
display: flex;
align-items: center;
.badge-selector {
margin-right: 5px;
}
}
}
.form-horizontal {
.ace-wrapper {