FIX: broken badge groupings modal UI (#6653)
This commit is contained in:
parent
052bf37578
commit
56478166e5
|
@ -2,13 +2,15 @@
|
|||
<div>
|
||||
<ul class='badge-groupings'>
|
||||
{{#each workingCopy as |wc|}}
|
||||
<li>
|
||||
{{#if wc.editing}}
|
||||
{{input value=wc.name}}
|
||||
<button {{action "save" wc}} class="btn no-text">{{d-icon 'check'}}</button>
|
||||
{{else}}
|
||||
{{wc.displayName}}
|
||||
{{/if}}
|
||||
<li class="badge-grouping-item">
|
||||
<div class="badge-grouping">
|
||||
{{#if wc.editing}}
|
||||
{{input value=wc.name class="badge-grouping-name-input"}}
|
||||
<button {{action "save" wc}} class="btn no-text">{{d-icon 'check'}}</button>
|
||||
{{else}}
|
||||
{{wc.displayName}}
|
||||
{{/if}}
|
||||
</div>
|
||||
<div class='actions'>
|
||||
<button {{action "edit" wc}} class="btn no-text" disabled={{wc.system}}>{{d-icon 'pencil'}}</button>
|
||||
<button {{action "up" wc}} class="btn no-text">{{d-icon 'toggle-up'}}</button>
|
||||
|
|
|
@ -126,11 +126,20 @@
|
|||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 10px 3px;
|
||||
li {
|
||||
padding: 6px 0;
|
||||
width: 600px;
|
||||
|
||||
.badge-grouping-item {
|
||||
border-bottom: 1px solid #dfdfdf;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.badge-grouping {
|
||||
.badge-grouping-name-input {
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.actions {
|
||||
float: right;
|
||||
.btn {
|
||||
|
|
Loading…
Reference in New Issue