💄 Change scrollbar behaviour

This commit is contained in:
2022-08-22 12:25:15 +02:00
parent 09366401a3
commit f17f720f58
6 changed files with 23 additions and 6 deletions

View File

@ -25,9 +25,9 @@ function swipeHandler(direction) {
<template>
<TitleBar />
<DateSelector v-show="isDataView" />
<div class="center" v-touch:swipe="swipeHandler">
<main>
<DateSelector v-show="isDataView" />
<LoadingElement :active="loading" v-show="isDataView" />
<RouterView />
</main>
@ -55,7 +55,9 @@ body {
.center {
display: flex;
justify-content: center;
min-height: 100vh;
height: calc(100vh - 99px);
overflow-y: auto;
overflow: overlay;
}
main {