mirror of
https://github.com/maputnik/editor.git
synced 2026-08-03 03:37:25 +00:00
Set dark scrollbar globally
This commit is contained in:
@@ -1,8 +1,7 @@
|
|||||||
import React from 'react'
|
import React from 'react'
|
||||||
import scrollbars from './scrollbars.scss'
|
|
||||||
|
|
||||||
const ScrollContainer = (props) => {
|
const ScrollContainer = (props) => {
|
||||||
return <div className={scrollbars.darkScrollbar} style={{
|
return <div style={{
|
||||||
overflowX: "visible",
|
overflowX: "visible",
|
||||||
overflowY: "scroll",
|
overflowY: "scroll",
|
||||||
bottom:0,
|
bottom:0,
|
||||||
|
|||||||
@@ -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;
|
|
||||||
}
|
|
||||||
@@ -19,3 +19,16 @@ html {
|
|||||||
color: rgb(142, 142, 142) !important;
|
color: rgb(142, 142, 142) !important;
|
||||||
box-shadow: none !important;
|
box-shadow: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
::-webkit-scrollbar {
|
||||||
|
background-color: #26282e;
|
||||||
|
width: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
::-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;
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user