From 0328a41d0fbb76fbb805610376b1c607faf60730 Mon Sep 17 00:00:00 2001 From: Eug-VS Date: Sat, 11 Jan 2020 20:11:29 +0300 Subject: Add overflow and scrollbar color to WindowSurface --- src/components/Window/WindowSurface/WindowSurface.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/components/Window/WindowSurface/WindowSurface.js') diff --git a/src/components/Window/WindowSurface/WindowSurface.js b/src/components/Window/WindowSurface/WindowSurface.js index d1d1510..c4e6b3d 100644 --- a/src/components/Window/WindowSurface/WindowSurface.js +++ b/src/components/Window/WindowSurface/WindowSurface.js @@ -9,6 +9,8 @@ const useStyles = makeStyles(theme => ({ display: 'flex', flexDirection: 'column', background: theme.palette.background.elevation, + overflowY: 'auto', + scrollbarColor: `${theme.palette.primary.dark} ${theme.palette.primary.light}`, } })); -- cgit v1.2.3