Skip to content

Commit

Permalink
feat: mobile support
Browse files Browse the repository at this point in the history
  • Loading branch information
RitvikSardana committed Aug 30, 2024
1 parent 464c7f8 commit f6dbec5
Show file tree
Hide file tree
Showing 13 changed files with 63 additions and 550 deletions.
14 changes: 3 additions & 11 deletions desk/src/App.vue
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
<template>
<span class="fixed inset-0">
<RouterView class="antialiased" />
<Toasts />
<KeymapDialog />
</span>
<RouterView class="antialiased" />
<Toasts />
<KeymapDialog />
</template>

<script setup lang="ts">
Expand All @@ -16,12 +14,6 @@ import { stopSession } from "@/telemetry";
import { init as initTelemetry } from "@/telemetry";
useConfigStore();
const viewportWidth = ref(
Math.max(document.documentElement.clientWidth || 0, window.innerWidth || 0)
);
provide("viewportWidth", viewportWidth);
onMounted(async () => {
window.addEventListener("online", () => {
createToast({
Expand Down
File renamed without changes.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit f6dbec5

Please sign in to comment.