fix(web): increase sidebar breakpoint (#17436)
This commit is contained in:
@@ -2,6 +2,7 @@ import { MediaQuery } from 'svelte/reactivity';
|
||||
|
||||
const pointerCoarse = new MediaQuery('pointer:coarse');
|
||||
const maxMd = new MediaQuery('max-width: 767px');
|
||||
const sidebar = new MediaQuery(`min-width: 850px`);
|
||||
|
||||
export const mobileDevice = {
|
||||
get pointerCoarse() {
|
||||
@@ -10,4 +11,7 @@ export const mobileDevice = {
|
||||
get maxMd() {
|
||||
return maxMd.current;
|
||||
},
|
||||
get isFullSidebar() {
|
||||
return sidebar.current;
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user