tg app fix sizes
This commit is contained in:
11
src/App.vue
11
src/App.vue
@@ -63,13 +63,8 @@ onMounted(() => {
|
||||
if (tgApp) {
|
||||
try {
|
||||
tgApp.expand?.();
|
||||
tgApp.requestFullscreen?.();
|
||||
// tgApp.requestFullscreen?.();
|
||||
tgApp.lockOrientation?.();
|
||||
tgApp.MainButton.setText("Open Space Picker");
|
||||
tgApp.MainButton.show();
|
||||
|
||||
tgApp.SecondaryButton.setText("Open Space Pick12312312er");
|
||||
tgApp.SecondaryButton.show();
|
||||
tgApp.ready();
|
||||
setupBackButton();
|
||||
} catch (err) {
|
||||
@@ -104,8 +99,8 @@ onBeforeUnmount(() => {
|
||||
<router-view class="w-full" />
|
||||
</div>
|
||||
|
||||
<nav class="fixed inset-x-0 bottom-0 z-50 h-16 bg-white px-10" style="padding-bottom: var(--tg-content-safe-area-inset-bottom) !important;">
|
||||
<div class="flex h-full items-center justify-between">
|
||||
<nav class="fixed inset-x-0 bottom-0 z-50 h-24 bg-white px-10 " style="padding-bottom: var(--tg-content-safe-area-inset-bottom) !important;">
|
||||
<div class="flex justify-items-start items-center justify-between">
|
||||
<router-link
|
||||
v-for="item in menu"
|
||||
:key="item.link"
|
||||
|
||||
Reference in New Issue
Block a user