From 00090fc51ca1ea0968f4a849d7c6ecaab0422b99 Mon Sep 17 00:00:00 2001 From: Haishan Date: Sat, 27 Oct 2018 17:49:34 +0800 Subject: chore: play around with customized scroll bar --- src/components/Root.module.scss | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'src/components/Root.module.scss') diff --git a/src/components/Root.module.scss b/src/components/Root.module.scss index d23d62e..52717bb 100644 --- a/src/components/Root.module.scss +++ b/src/components/Root.module.scss @@ -6,3 +6,20 @@ min-height: 580px; height: 100vh; } + +.content { + flex-grow: 1; + overflow: scroll; + + // $w: 7px; + // &::-webkit-scrollbar { + // width: $w; + // } + // &::-webkit-scrollbar-thumb { + // border-radius: 20px; + // background-color: rgba(221, 221, 221, 0.7); + // } + // &::-webkit-scrollbar-corner { + // background: transparent; + // } +} -- cgit v1.3.1