mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-04 20:43:04 +00:00
feat: check screen size to enable or disable settings
+ redesign (again!) the playlist cards
This commit is contained in:
@@ -2,9 +2,10 @@ import { computed } from "vue";
|
||||
import { ref } from "@vue/reactivity";
|
||||
|
||||
const content_width = ref(0);
|
||||
const window_width = ref(0);
|
||||
|
||||
const isSmall = computed(() => {
|
||||
return content_width.value < 700;
|
||||
});
|
||||
|
||||
export { content_width, isSmall };
|
||||
export { content_width, window_width, isSmall };
|
||||
|
||||
Reference in New Issue
Block a user