💄 Change scrollbar behaviour
This commit is contained in:
@ -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 {
|
||||
|
Reference in New Issue
Block a user