TaskView is a self-hosted project and task management platform focused on clarity, ownership, and control. TaskView is built for teams that want a transparent, self-hosted alternative to SaaS task managers.
TypeScript graphviewkanban-boardnodejsproductivityproject-managementself-hostedtasktask-managementtask-managertodoapp
import { onMounted, ref } from 'vue';
import { DIALOG_WIDTH } from '@/types/base-screen.types';
import { useMobile } from './useMobile';
export const useDialogWidth = () => {
const width = ref();
const isMobile = useMobile();
onMounted(() => {
width.value = isMobile.isMobile.value ? '100%' : DIALOG_WIDTH;
});
return width;
};