summaryrefslogtreecommitdiff
path: root/src/components/Root.module.scss
diff options
context:
space:
mode:
authorHaishan <[email protected]>2018-10-27 17:49:34 +0800
committerhaishanh <[email protected]>2018-10-30 16:01:33 +0800
commit00090fc51ca1ea0968f4a849d7c6ecaab0422b99 (patch)
tree65e8480c10af58d01cea8cd607f44c941079cd8f /src/components/Root.module.scss
parentae3fd6bcaf9e650ed1603654dbe2ef715123e6e9 (diff)
chore: play around with customized scroll bar
Diffstat (limited to 'src/components/Root.module.scss')
-rw-r--r--src/components/Root.module.scss17
1 files changed, 17 insertions, 0 deletions
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;
+ // }
+}