fixed more layout
This commit is contained in:
@@ -55,7 +55,7 @@ onUnmounted(() => {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div class="login-button-root">
|
||||||
<button v-if="!isParentAuthenticated" @click="open" aria-label="Parent login">Parent</button>
|
<button v-if="!isParentAuthenticated" @click="open" aria-label="Parent login">Parent</button>
|
||||||
<button v-else @click="handleLogout" aria-label="Parent logout">Log out</button>
|
<button v-else @click="handleLogout" aria-label="Parent logout">Log out</button>
|
||||||
|
|
||||||
@@ -152,4 +152,8 @@ onUnmounted(() => {
|
|||||||
font-size: 0.9rem;
|
font-size: 0.9rem;
|
||||||
margin-top: 0.25rem;
|
margin-top: 0.25rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.login-button-root {
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -119,12 +119,17 @@ const showBack = computed(() => route.path !== '/child')
|
|||||||
|
|
||||||
.login-btn {
|
.login-btn {
|
||||||
align-self: end;
|
align-self: end;
|
||||||
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 480px) {
|
@media (max-width: 480px) {
|
||||||
.back-btn {
|
.back-btn {
|
||||||
padding: 0.45rem 0.75rem;
|
padding: 0.45rem 0.75rem;
|
||||||
font-size: 0.95rem;
|
font-size: 0.6rem;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
.login-btn {
|
||||||
|
height: 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
@@ -138,5 +143,13 @@ const showBack = computed(() => route.path !== '/child')
|
|||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
color: #667eea;
|
color: #667eea;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
@media (max-width: 480px) {
|
||||||
|
.login-btn button {
|
||||||
|
padding: 0.45rem 0.75rem;
|
||||||
|
font-size: 0.6rem;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -230,6 +230,7 @@ const showBack = computed(
|
|||||||
|
|
||||||
.login-btn {
|
.login-btn {
|
||||||
align-self: end;
|
align-self: end;
|
||||||
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 480px) {
|
@media (max-width: 480px) {
|
||||||
@@ -253,6 +254,7 @@ const showBack = computed(
|
|||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
color: #667eea;
|
color: #667eea;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 480px) {
|
@media (max-width: 480px) {
|
||||||
|
|||||||
Reference in New Issue
Block a user