fix(joyent-ui-toolkit): make CardHeader use full parent width

This commit is contained in:
Sérgio Ramos 2017-06-02 02:15:06 +01:00
parent caf07a24d9
commit 3c7800aba1

View File

@ -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 }) => {