mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 22:43:30 +03:00
Added dropdown arrow to custom settings select component
This commit is contained in:
parent
3f642eeb7c
commit
2c648fda34
@ -4,13 +4,16 @@
|
||||
{{humanize-setting-key @setting.key}}
|
||||
</label>
|
||||
|
||||
<select class="ember-select" name={{this.selectName}} id={{this.selectId}} {{on "change" this.setSelection}}>
|
||||
{{#each @setting.options as |settingOption|}}
|
||||
<option value={{settingOption}} selected={{eq settingOption @setting.value}}>
|
||||
{{settingOption}}
|
||||
{{#if (eq settingOption @setting.default)}}(default){{/if}}
|
||||
</option>
|
||||
{{/each}}
|
||||
</select>
|
||||
<span class="gh-select">
|
||||
<select class="ember-select" name={{this.selectName}} id={{this.selectId}} {{on "change" this.setSelection}}>
|
||||
{{#each @setting.options as |settingOption|}}
|
||||
<option value={{settingOption}} selected={{eq settingOption @setting.value}}>
|
||||
{{settingOption}}
|
||||
{{#if (eq settingOption @setting.default)}}(default){{/if}}
|
||||
</option>
|
||||
{{/each}}
|
||||
</select>
|
||||
{{svg-jar "arrow-down-small"}}
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
@ -448,7 +448,7 @@
|
||||
}
|
||||
|
||||
/* Icons */
|
||||
.gh-nav-list svg {
|
||||
.gh-nav-list svg:not(.gh-select svg):not(.gh-nav-button-expand svg) {
|
||||
margin-right: 17px;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
|
Loading…
Reference in New Issue
Block a user