mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-05 04:53:01 +00:00
feat: check screen size to enable or disable settings
+ redesign (again!) the playlist cards
This commit is contained in:
+3
-2
@@ -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";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user