borderless MiniMetric
This commit is contained in:
parent
3433c24bee
commit
0b775fb600
@ -15,15 +15,20 @@ const {
|
||||
default: styled
|
||||
} = Styled;
|
||||
|
||||
const border = (props) => !props.borderless
|
||||
? `solid ${remcalc(1)} ${colors.borderSecondary}`
|
||||
: 'none';
|
||||
|
||||
const Container = styled.div`
|
||||
position: relative;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
background-color: ${colors.miniBackground};
|
||||
border: solid ${remcalc(1)} ${colors.borderSecondary};
|
||||
border: ${border};
|
||||
`;
|
||||
|
||||
const Shadow = styled.div`
|
||||
z-index: 1;
|
||||
position: absolute;
|
||||
height: 100%;
|
||||
width: ${remcalc(9)};
|
||||
|
Loading…
Reference in New Issue
Block a user