mirror of
https://github.com/jhd3197/ServerKit.git
synced 2026-12-01 20:55:16 +09:00
Merge pull request #227 from jhd3197/feat/ux-notifications-tablet-filters
fix(ui): keep Notifications filters on one row at tablet width
This commit is contained in:
2 files changed
+1
-3
No files matched your search
@@ -48,7 +48,7 @@ export default function Notifications() {
|
||||
const [unreadCount, setUnreadCount] = useState(0);
|
||||
const [loading, setLoading] = useState(true);
|
||||
const [hasMore, setHasMore] = useState(false);
|
||||
const compact = useMediaQuery('(max-width: 768px)');
|
||||
const compact = useMediaQuery('(max-width: 1219px)');
|
||||
const activeFilters = (category ? 1 : 0) + (severity ? 1 : 0);
|
||||
|
||||
const fetchPage = useCallback(async (startOffset, replace) => {
|
||||
|
||||
@@ -360,8 +360,6 @@
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: $space-4;
|
||||
padding-inline-start: $space-4;
|
||||
border-inline-start: 1px solid $border-subtle;
|
||||
}
|
||||
|
||||
.sk-notif-chipset {
|
||||
|
||||
Reference in new issue
Block a user