Refined member filter button

This commit is contained in:
Peter Zimon 2021-08-13 16:18:43 +02:00
parent 49b47b7016
commit 8ba183050b
3 changed files with 7 additions and 2 deletions

View File

@ -5,11 +5,11 @@
@title="Members Actions"
data-test-button="members-actions"
>
<span>
<span class="{{if @isFiltered "gh-btn-label-green"}}">
{{svg-jar "filter"}}
Filter
{{#if @isFiltered}}
| {{totalFilters}}
({{totalFilters}})
{{/if}}
</span>
</GhDropdownButton>

View File

@ -134,6 +134,7 @@ p.gh-members-list-email {
.gh-members-list-labels {
display: inline-block;
max-width: 300px;
min-width: 220px;
}
.gh-members-placeholder {

View File

@ -379,6 +379,10 @@ svg.gh-btn-icon-right {
stroke: currentColor;
}
.gh-btn-label-green {
color: var(--green);
}
/*
/* Button Variations