forked from abner/for-legacy-web
Finish up new sidebar active.
Add rounded corners to sidebar.
This commit is contained in:
@@ -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;
|
||||
` }
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user