You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
489 B
26 lines
489 B
.root { |
|
background-color: var(--theme-background-secondary); |
|
display: none; |
|
--header-h: 64px; |
|
} |
|
|
|
@media (min-width: 768px) { |
|
.root { |
|
position: sticky; |
|
top: var(--header-h); |
|
display: block; |
|
max-height: calc(100vh - var(--header-h)); |
|
} |
|
} |
|
/* |
|
First div is .ant-layout-sider-children |
|
Only way to target it apparently |
|
*/ |
|
.root > div { |
|
display: flex; |
|
flex-flow: column nowrap; |
|
-moz-box-flex: 1 !important; |
|
flex-grow: 1 !important; |
|
height: 100% !important; |
|
} |
|
|
|
|