tg app fix sizes
This commit is contained in:
@@ -10,6 +10,7 @@ import { computed, onMounted, onBeforeUnmount, ref, watch } from "vue";
|
||||
const spaceStore = useSpaceStore();
|
||||
const toolbarStore = useToolbarStore();
|
||||
const route = useRoute();
|
||||
const platform = ref<string>("unknown")
|
||||
|
||||
const tgApp = (window as any)?.Telegram?.WebApp;
|
||||
const isTelegram = computed(() => !!tgApp);
|
||||
@@ -89,7 +90,7 @@ onBeforeUnmount(() => {
|
||||
|
||||
<template>
|
||||
{{tgApp.platform}}
|
||||
<div class="flex flex-col tg !pt-10">
|
||||
<div class="flex flex-col tg " :class="platform in ['ios', 'android'] ? '!pt-10' : '!pt-1'">
|
||||
<SpaceList v-if="isSpaceSelected" @space-selected="spaceSelected" />
|
||||
|
||||
<div v-else class="flex flex-col w-full gap-4">
|
||||
|
||||
Reference in New Issue
Block a user