mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-04 04:23:01 +00:00
5130f85300
+ redesign (again!) the playlist cards
12 lines
255 B
TypeScript
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 };
|