On Chrome Android, cross-axis stretch doesn't always produce a definite height for inner flex items. Adding height: 100dvh to .home ensures flex: 1 on .welcome-world resolves to full viewport. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
26 lines
450 B
Vue
26 lines
450 B
Vue
<script setup lang="ts">
|
|
import AuthorizeUser from "@/components/AuthorizeUser.vue"
|
|
import WelcomeWorld from "@/components/WelcomeWorld.vue"
|
|
</script>
|
|
|
|
<template>
|
|
<div class="home content">
|
|
<authorize-user class="authorize" />
|
|
<welcome-world />
|
|
</div>
|
|
</template>
|
|
|
|
<style lang="scss" scoped>
|
|
.home {
|
|
display: flex;
|
|
flex: 1;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
height: 100dvh;
|
|
}
|
|
|
|
.authorize {
|
|
margin: auto;
|
|
}
|
|
</style>
|