mirror of
https://github.com/stashapp/stash.git
synced 2025-12-07 17:02:38 +01:00
CSS: Fix mobile filter tags (#2584)
This commit is contained in:
parent
55366fa66f
commit
1200d4472a
2 changed files with 16 additions and 1 deletions
|
|
@ -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>
|
||||
);
|
||||
};
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue