fix(joyent-ui-toolkit): make CardHeader use full parent width
This commit is contained in:
parent
caf07a24d9
commit
3c7800aba1
@ -13,11 +13,7 @@ const StyledCard = Card.extend`
|
|||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
|
|
||||||
width: calc(100% + ${remcalc(2)});
|
width: calc(100% + ${remcalc(2)});
|
||||||
margin: 0;
|
margin: ${remcalc(-1)} ${remcalc(-1)} 0 ${remcalc(-1)};
|
||||||
|
|
||||||
top: ${remcalc(-1)};
|
|
||||||
left: ${remcalc(-1)};
|
|
||||||
right: ${remcalc(-1)};
|
|
||||||
`;
|
`;
|
||||||
|
|
||||||
const Header = ({ children, ...rest }) => {
|
const Header = ({ children, ...rest }) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user