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.
Sonarr/frontend/src/Components/Page/Sidebar/PageSidebar.css

34 lines
630 B

.sidebarContainer {
flex: 0 0 $sidebarWidth;
overflow: hidden;
width: $sidebarWidth;
background-color: var(--sidebarBackgroundColor);
transition: transform 300ms ease-in-out;
transform: translateX(0);
}
.sidebar {
display: flex;
flex-direction: column;
overflow: hidden;
background-color: var(--sidebarBackgroundColor);
color: var(--white);
}
@media only screen and (max-width: $breakpointSmall) {
.sidebarContainer {
position: fixed;
top: 0;
z-index: 2;
height: 100vh;
}
.sidebar {
position: fixed;
z-index: 2;
overflow-y: auto;
width: 100%;
height: 100%;
}
}