From 56eca962a82316cc7fd8f2457d44a6dfaa0baaac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ulysse=20G=C3=A9rard?= Date: Fri, 10 May 2024 15:15:48 +0200 Subject: [PATCH] css: add controlled scroll styles --- web/main.css | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/web/main.css b/web/main.css index 0a9b2ac..564862f 100644 --- a/web/main.css +++ b/web/main.css @@ -68,6 +68,7 @@ body { height: 100%; overflow-x: hidden; overflow-y: auto; + scroll-behavior: smooth; background-color: rgb(207, 207, 207); position: relative; font-size: 1.2rem; @@ -111,3 +112,14 @@ body { .lwdui-lazy-table span { vertical-align: middle; } + +.lwdui-controlled-scroll-wrapper { + position: relative; + overflow: hidden; + + & .lwdui-controlled-scroll-controls { + position: absolute; + bottom: 0; + right: 0; + } +}