mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 20:34:37 +03:00
CSS: Fix mobile filter tags (#2584)
This commit is contained in:
committed by
GitHub
parent
55366fa66f
commit
1200d4472a
@@ -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>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user