CSS: Fix mobile filter tags (#2584)

This commit is contained in:
kermieisinthehouse
2022-05-15 16:50:51 -07:00
committed by GitHub
parent 55366fa66f
commit 1200d4472a
2 changed files with 16 additions and 1 deletions

View File

@@ -55,6 +55,8 @@ export const FilterTags: React.FC<IFilterTagsProps> = ({
} }
return ( return (
<div className="d-flex justify-content-center">{renderFilterTags()}</div> <div className="d-flex justify-content-center mb-2 wrap-tags">
{renderFilterTags()}
</div>
); );
}; };

View File

@@ -338,6 +338,19 @@ div.dropdown-menu {
margin-right: 10px; margin-right: 10px;
} }
.wrap-tags {
column-gap: 10px;
flex-wrap: wrap;
row-gap: 10px;
/* stylelint-disable */
.badge {
white-space: normal !important;
margin: unset;
}
/* stylelint-enable */
}
.tag-item { .tag-item {
background-color: $muted-gray; background-color: $muted-gray;
color: $dark-text; color: $dark-text;