* add scroll and styles * Update Layout.jsx Co-authored-by: lukasschor <lukas.schor@gnosis.pm> Co-authored-by: nicosampler <nf.dominguez.87@gmail.com>
This commit is contained in:
parent
a79a86e5cc
commit
05b3fd9b48
|
@ -10,7 +10,7 @@ export const Wrapper = styled.div`
|
|||
.background {
|
||||
box-shadow: 1px 2px 10px 0 rgba(212, 212, 211, 0.59);
|
||||
background-color: white;
|
||||
}
|
||||
}
|
||||
`
|
||||
export const Nav = styled.div`
|
||||
grid-column: 1/3;
|
||||
|
@ -28,6 +28,22 @@ export const Menu = styled.div.attrs(() => ({ className: 'background' }))`
|
|||
border-top-left-radius: 8px;
|
||||
border-bottom-left-radius: 8px;
|
||||
background-color: white;
|
||||
overflow-y: auto;
|
||||
|
||||
::-webkit-scrollbar {
|
||||
width: 0.7em !important;
|
||||
scroll-behavior: smooth !important;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-track {
|
||||
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3) !important;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-thumb {
|
||||
background-color: darkgrey !important;
|
||||
outline: 1px solid slategrey !important;
|
||||
border-radius: 10px !important;
|
||||
}
|
||||
`
|
||||
|
||||
export const Content = styled.div.attrs(() => ({ className: 'background' }))`
|
||||
|
|
Loading…
Reference in New Issue