Merge pull request #665 from prymitive/fix-filter-close

fix(ui): fix styling of the close icon on filter input button
This commit is contained in:
Łukasz Mierzwa
2019-05-01 08:06:25 +01:00
committed by GitHub

View File

@@ -100,17 +100,10 @@ const FilterInputLabel = observer(
/>
</TooltipWrapper>
<span
className="close ml-1 align-text-bottom cursor-pointer"
style={filter.applied ? cs.style : {}}
className="close ml-1 align-text-bottom cursor-pointer text-reset"
onClick={() => alertStore.filters.removeFilter(filter.raw)}
>
<span
className={cs.colorClassNames
.filter(c => !c.match(/btn-|badge-/))
.join(" ")}
>
&times;
</span>
<span className="text-reset">&times;</span>
</span>
</button>
);