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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 1 deletions

View file

@ -55,6 +55,8 @@ export const FilterTags: React.FC<IFilterTagsProps> = ({
}
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;
}
.wrap-tags {
column-gap: 10px;
flex-wrap: wrap;
row-gap: 10px;
/* stylelint-disable */
.badge {
white-space: normal !important;
margin: unset;
}
/* stylelint-enable */
}
.tag-item {
background-color: $muted-gray;
color: $dark-text;