UX: makes solved status filter adapt width to its content

This commit is contained in:
jjaffeux 2020-02-20 11:04:26 +01:00
parent a531a2b370
commit 26d247e3d7
2 changed files with 13 additions and 1 deletions

View File

@ -1,3 +1,9 @@
{{#if siteSettings.solved_enabled}}
{{combo-box content=statuses value=status valueAttribute="value" onSelect=(action "changeStatus")}}
{{combo-box
class="solved-status-filter"
content=statuses
value=status
valueAttribute="value"
onSelect=(action "changeStatus")
}}
{{/if}}

View File

@ -1,3 +1,9 @@
.select-kit {
&.solved-status-filter {
min-width: auto;
}
}
.solved-panel,
.post-controls .accepted,
.fa.accepted,