Set dark scrollbar globally

This commit is contained in:
Lukas Martinelli
2016-12-30 21:02:39 +01:00
parent cf80e80025
commit 24a90b3c57
3 changed files with 14 additions and 14 deletions

View File

@@ -1,8 +1,7 @@
import React from 'react'
import scrollbars from './scrollbars.scss'
const ScrollContainer = (props) => {
return <div className={scrollbars.darkScrollbar} style={{
return <div style={{
overflowX: "visible",
overflowY: "scroll",
bottom:0,

View File

@@ -1,12 +0,0 @@
.darkScrollbar::-webkit-scrollbar {
background-color: #26282e;
width: 5px;
}
.darkScrollbar::-webkit-scrollbar-thumb {
border-radius: 6px;
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
background-color: #40444e;
padding-left: 2px;
padding-right: 2px;
}