From 0f73bf418582ba8b7c74b0f672669755da02b6fe Mon Sep 17 00:00:00 2001 From: JustSong Date: Sun, 14 May 2023 18:32: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 1193278..28b1ce5 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 {