Files
outline/app/components/Sidebar/components/Section.ts
2024-02-20 20:59:53 -05:00

21 lines
364 B
TypeScript

import styled from "styled-components";
import Flex from "~/components/Flex";
const Section = styled(Flex)`
position: relative;
flex-direction: column;
margin: 0 8px 12px;
min-width: ${(props) => props.theme.sidebarMinWidth}px;
flex-shrink: 0;
&:first-child {
margin-top: 12px;
}
&:empty {
display: none;
}
`;
export default Section;