feat: check screen size to enable or disable settings

+ redesign (again!) the playlist cards
This commit is contained in:
geoffrey45
2022-09-17 14:24:05 +03:00
parent fca59751c4
commit 5130f85300
13 changed files with 50 additions and 36 deletions
+3 -2
View File
@@ -8,8 +8,9 @@
:class="{
showAltNP: settings.use_sidebar && settings.use_alt_np,
disableSidebar: !settings.use_sidebar,
extendWidth: settings.extend_width,
extendWidth: settings.extend_width && settings.extend_width_enabled,
isSmall: !xl,
addBorderRight: xxl,
}"
>
<LeftSidebar />
@@ -33,7 +34,7 @@ import useQStore from "@/stores/queue";
import useModalStore from "@/stores/modal";
import useContextStore from "@/stores/context";
import useSettingsStore from "@/stores/settings";
import { xl } from "./composables/useBreakpoints";
import { xl, xxl } from "./composables/useBreakpoints";
import handleShortcuts from "@/composables/useKeyboard";
import { readLocalStorage, writeLocalStorage } from "@/utils";