mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user