Files
swingmusic-extended/src/stores/content-width.ts
T
geoffrey45 5130f85300 feat: check screen size to enable or disable settings
+ redesign (again!) the playlist cards
2022-09-17 14:24:05 +03:00

12 lines
255 B
TypeScript

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, window_width, isSmall };