From 8c4f510c129c4539a0260a86cb3652e4fd8d23dd Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Thu, 9 May 2019 18:56:46 +0200 Subject: [PATCH] fix: main scroll --- public/styles.css | 5 ++++- src/App.vue | 9 +++++---- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/public/styles.css b/public/styles.css index 96bb465..597de9c 100644 --- a/public/styles.css +++ b/public/styles.css @@ -23,6 +23,9 @@ body { font-size: 16px; font-family: 'Roboto', Arial, sans-serif; font-weight: 300; - color: #444; + color: #444; + + overflow: hidden; + overflow-y: auto; } \ No newline at end of file diff --git a/src/App.vue b/src/App.vue index 09222d4..fc87c3d 100644 --- a/src/App.vue +++ b/src/App.vue @@ -28,16 +28,17 @@ export default class App extends Vue { top: 0; left: 0; width: 100%; - height: 100%; + min-height: 100%; + height: auto; - padding-bottom: 10rem; + padding-bottom: 5rem; flex-flow: column nowrap; // justify-content: flex-start; // align-items: auto; - overflow: hidden; - overflow-y: auto; + // overflow: hidden; + // overflow-y: auto; }