@guardian/threads
Version:
44 lines (37 loc) • 665 B
CSS
.container {
display: flex;
flex-direction: row;
height: 100%;
}
.sidebar {
flex-shrink: 0;
height: 100%;
overflow: auto;
box-sizing: border-box;
border-right: 1px solid var(--color-border);
}
.sidebarContent {
position: sticky;
top: 0;
}
.mobileSideBar {
text-align: center;
display: flex;
flex-direction: column;
padding: var(--sp-base);
background: var(--color-secondary-light);
border-right: 1px solid var(--color-border);
}
.mobileSideBar > .sidebarContent > svg {
font-size: 3em;
}
.mobileSideBarPopover {
width: 80vw;
height: 100%;
}
.content {
flex-grow: 2;
width: 100%;
overflow-y: scroll;
-webkit-overflow-scrolling: touch;
}