app center, max width 1320px

This commit is contained in:
ogerly 2022-11-21 15:26:27 +01:00
parent 5ea426506c
commit f3d8e496d6

View File

@ -1,7 +1,9 @@
<template>
<div id="app" class="placeholder h-100">
<component :is="$route.meta.requiresAuth ? 'DashboardLayout' : 'AuthLayout'" />
<div class="goldrand position-fixed w-100 fixed-bottom zindex1000"></div>
<div :class="$route.meta.requiresAuth ? 'appContent' : ''">
<component :is="$route.meta.requiresAuth ? 'DashboardLayout' : 'AuthLayout'" />
<div class="goldrand position-fixed w-100 fixed-bottom zindex1000"></div>
</div>
</div>
</template>
@ -24,11 +26,16 @@ export default {
src: url(./assets/scss/fonts/WorkSans-VariableFont_wght.ttf) format('truetype');
}
#app {
min-width: 360px;
font-size: 1rem;
font-family: 'WorkSans', sans-serif !important;
/* justify-content: center; */
}
.appContent {
min-width: 360px;
max-width: 1320px;
margin-right: auto;
margin-left: auto;
}
@media screen and (max-width: 500px) {
#app {
font-size: 0.85rem;