From ea16c713a4ef150d322327b81a6a205a7b454982 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20Ku=CC=88hn?= Date: Thu, 4 Feb 2021 22:10:08 +0100 Subject: [PATCH] improve scrollable containers --- docs/src/components/Demo/style.scss | 4 +- docs/src/components/DemoContent/index.vue | 6 +-- .../Examples/CollaborativeEditing/index.vue | 45 +++++++++---------- docs/src/layouts/App/prism.scss | 2 +- 4 files changed, 27 insertions(+), 30 deletions(-) diff --git a/docs/src/components/Demo/style.scss b/docs/src/components/Demo/style.scss index 74451dc1..1bd03c66 100644 --- a/docs/src/components/Demo/style.scss +++ b/docs/src/components/Demo/style.scss @@ -8,9 +8,9 @@ border-bottom-width: 0; color: $colorBlack; background-color: $colorWhite; - max-height: unquote("max(300px, 70vh)"); + max-height: unquote("max(300px, 60vh)"); overflow: auto; - scroll-behavior: smooth; + -webkit-overflow-scrolling: touch; border: 3px solid $colorBlack; } diff --git a/docs/src/components/DemoContent/index.vue b/docs/src/components/DemoContent/index.vue index 2ae76abb..21f2f468 100644 --- a/docs/src/components/DemoContent/index.vue +++ b/docs/src/components/DemoContent/index.vue @@ -1,8 +1,6 @@