Add NSFW/SFW board filter to /all/ board page on mobile (#1071)

* feat(board-buttons): add NSFW/SFW filter to /all/ board page on mobile

* refactor(board-buttons): extract MobileAllFeedFilter padding to CSS class
This commit is contained in:
Tommaso Casaburi
2026-03-12 18:33:04 +08:00
committed by GitHub
parent aca0eef50e
commit abf6727212
4 changed files with 16 additions and 2 deletions
@@ -364,6 +364,15 @@ const AllFeedFilter = () => {
);
};
export const MobileAllFeedFilter = () => (
<div className={styles.mobileBoardButtons}>
<hr />
<div className={`${styles.options} ${styles.mobileAllFeedFilterPadding}`}>
<AllFeedFilter />
</div>
</div>
);
export const MobileBoardButtons = () => {
const { t } = useTranslation();
const params = useParams();