From 6167e20b342189f6e733f69be4b732695dc7fb1c Mon Sep 17 00:00:00 2001 From: JustSong Date: Sun, 14 May 2023 16:02:40 +0800 Subject: [PATCH] style: hide scroll bar --- web/src/index.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/web/src/index.css b/web/src/index.css index 7559a80c..5d60e377 100644 --- a/web/src/index.css +++ b/web/src/index.css @@ -5,6 +5,11 @@ body { font-family: Lato, 'Helvetica Neue', Arial, Helvetica, "Microsoft YaHei", sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; + scrollbar-width: none; +} + +body::-webkit-scrollbar { + display: none; } code {