FIX: better alignment of badge selector and edit btn (#6651)
Input located at /admin/badges/new
This commit is contained in:
parent
e77cc44f07
commit
2843944315
|
@ -32,11 +32,15 @@
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<label for="badge_grouping_id">{{i18n 'admin.badges.badge_grouping'}}</label>
|
<label for="badge_grouping_id">{{i18n 'admin.badges.badge_grouping'}}</label>
|
||||||
{{combo-box name="badge_grouping_id"
|
|
||||||
value=buffered.badge_grouping_id
|
<div class="badge-grouping-control">
|
||||||
content=badgeGroupings
|
{{combo-box name="badge_grouping_id"
|
||||||
nameProperty="name"}}
|
value=buffered.badge_grouping_id
|
||||||
<button {{action "editGroupings"}} class='btn btn-icon btn-default'>{{d-icon 'pencil'}}</button>
|
content=badgeGroupings
|
||||||
|
class="badge-selector"
|
||||||
|
nameProperty="name"}}
|
||||||
|
<button {{action "editGroupings"}} class='btn btn-icon no-text btn-default'>{{d-icon 'pencil'}}</button>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -21,6 +21,15 @@
|
||||||
color: dark-light-choose($primary-medium, $secondary-medium);
|
color: dark-light-choose($primary-medium, $secondary-medium);
|
||||||
font-size: $font-down-1;
|
font-size: $font-down-1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.badge-grouping-control {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
|
||||||
|
.badge-selector {
|
||||||
|
margin-right: 5px;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.form-horizontal {
|
.form-horizontal {
|
||||||
.ace-wrapper {
|
.ace-wrapper {
|
||||||
|
|
Loading…
Reference in New Issue