Finish up new sidebar active.

Add rounded corners to sidebar.
This commit is contained in:
Paul
2021-07-01 13:42:53 +01:00
parent c724ffae43
commit 471b4b0847
10 changed files with 40 additions and 31 deletions

View File

@@ -1,6 +1,7 @@
import styled, { css } from "styled-components";
interface Props {
borders?: boolean;
background?: boolean;
placement: 'primary' | 'secondary'
}
@@ -30,4 +31,9 @@ export default styled.div<Props>`
background-color: var(--secondary-header);
padding: 14px;
` }
${ props => props.borders && css`
border-start-start-radius: 8px;
border-end-start-radius: 8px;
` }
`;