Skip to content

Commit

Permalink
CSS: Fix mobile filter tags (#2584)
Browse files Browse the repository at this point in the history
  • Loading branch information
kermieisinthehouse authored May 15, 2022
1 parent 55366fa commit 1200d44
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ui/v2.5/src/components/List/FilterTags.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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>
);
};
13 changes: 13 additions & 0 deletions ui/v2.5/src/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 1200d44

Please sign in to comment.