tg app fix sizes
This commit is contained in:
11
src/App.vue
11
src/App.vue
@@ -63,13 +63,8 @@ onMounted(() => {
|
|||||||
if (tgApp) {
|
if (tgApp) {
|
||||||
try {
|
try {
|
||||||
tgApp.expand?.();
|
tgApp.expand?.();
|
||||||
tgApp.requestFullscreen?.();
|
// tgApp.requestFullscreen?.();
|
||||||
tgApp.lockOrientation?.();
|
tgApp.lockOrientation?.();
|
||||||
tgApp.MainButton.setText("Open Space Picker");
|
|
||||||
tgApp.MainButton.show();
|
|
||||||
|
|
||||||
tgApp.SecondaryButton.setText("Open Space Pick12312312er");
|
|
||||||
tgApp.SecondaryButton.show();
|
|
||||||
tgApp.ready();
|
tgApp.ready();
|
||||||
setupBackButton();
|
setupBackButton();
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
@@ -104,8 +99,8 @@ onBeforeUnmount(() => {
|
|||||||
<router-view class="w-full" />
|
<router-view class="w-full" />
|
||||||
</div>
|
</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;">
|
<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 h-full items-center justify-between">
|
<div class="flex justify-items-start items-center justify-between">
|
||||||
<router-link
|
<router-link
|
||||||
v-for="item in menu"
|
v-for="item in menu"
|
||||||
:key="item.link"
|
:key="item.link"
|
||||||
|
|||||||
Reference in New Issue
Block a user