📱 Boxed layout for larger screens
This commit is contained in:
20
src/App.vue
20
src/App.vue
@ -9,14 +9,18 @@ import { loading } from "./store";
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<TitleBar />
|
<TitleBar />
|
||||||
<DateSelector v-show="$route.name != 'Settings' && $route.name != 'Login'" />
|
<div class="center">
|
||||||
<main>
|
<main>
|
||||||
<LoadingElement
|
<DateSelector
|
||||||
:active="loading"
|
v-show="$route.name != 'Settings' && $route.name != 'Login'"
|
||||||
v-show="$route.name != 'Settings' && $route.name != 'Login'"
|
/>
|
||||||
/>
|
<LoadingElement
|
||||||
<RouterView />
|
:active="loading"
|
||||||
</main>
|
v-show="$route.name != 'Settings' && $route.name != 'Login'"
|
||||||
|
/>
|
||||||
|
<RouterView />
|
||||||
|
</main>
|
||||||
|
</div>
|
||||||
<BottomNavbar v-show="$route.name != 'Login'" />
|
<BottomNavbar v-show="$route.name != 'Login'" />
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
@ -23,6 +23,16 @@ body {
|
|||||||
font-family: var(--font-family);
|
font-family: var(--font-family);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.center {
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
main {
|
||||||
|
width: 100%;
|
||||||
|
max-width: 900px;
|
||||||
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: "sourcesanspro";
|
font-family: "sourcesanspro";
|
||||||
font-style: "normal";
|
font-style: "normal";
|
||||||
|
@ -42,6 +42,7 @@ import { RouterLink } from "vue-router";
|
|||||||
grid-auto-columns: 1fr;
|
grid-auto-columns: 1fr;
|
||||||
grid-auto-flow: column;
|
grid-auto-flow: column;
|
||||||
padding: 0px 20px;
|
padding: 0px 20px;
|
||||||
|
max-width: 800px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.entry {
|
.entry {
|
||||||
|
Reference in New Issue
Block a user