Merge pull request #32 from eqlabs/feat/fix-scrollbars

Fix scrollbars
This commit is contained in:
Valtteri Karesto
2021-11-26 15:23:13 +02:00
committed by GitHub
3 changed files with 16 additions and 2 deletions

View File

@@ -71,7 +71,17 @@ const EditorNavigation = () => {
}, [session, popup]);
return (
<Flex css={{ flexShrink: 0, gap: "$0" }}>
<Flex css={{ overflowX: "scroll", py: "$3", flex: 1 }}>
<Flex
css={{
overflowX: "scroll",
py: "$3",
flex: 1,
"&::-webkit-scrollbar": {
height: 0,
background: "transparent",
},
}}
>
<Container css={{ flex: 1 }}>
<Stack
css={{

View File

@@ -53,7 +53,7 @@ const Footer = () => {
fontSize: "13px",
fontWeight: "$body",
fontFamily: "$monospace",
overflowY: "scroll",
overflowY: "auto",
wordWrap: "break-word",
py: 3,
}}

View File

@@ -314,6 +314,10 @@ const Navigation = () => {
flexWrap: "nowrap",
marginLeft: "$4",
overflowX: "scroll",
"&::-webkit-scrollbar": {
height: 0,
background: "transparent",
},
}}
>
<Stack