fix(ui): better close button align on filters

This commit is contained in:
Łukasz Mierzwa
2018-07-28 20:59:31 +02:00
parent f674fe27ee
commit 5d1084b8e7
2 changed files with 1 additions and 3 deletions

View File

@@ -1,7 +1,6 @@
.badge.components-filteredinputlabel {
/* make fonts bigger */
font-size: 90%;
line-height: 1.4;
/* fix align after text-truncate */
vertical-align: middle;
@@ -24,5 +23,4 @@
.badge.components-filteredinputlabel > .close {
/* make close button bigger, to match font size of the badge */
font-size: 1rem;
margin-left: 0.25rem;
}

View File

@@ -76,7 +76,7 @@ const FilterInputLabel = observer(
style={style}
onClick={() => alertStore.filters.removeFilter(filter.raw)}
>
<span aria-hidden="true">&times;</span>
<span className="align-text-bottom">&times;</span>
</button>
{filter.isValid ? (
filter.applied ? (