From 3c7800aba138fcb2f24a140e8375f6935069e147 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Se=CC=81rgio=20Ramos?= Date: Fri, 2 Jun 2017 02:15:06 +0100 Subject: [PATCH] fix(joyent-ui-toolkit): make CardHeader use full parent width --- packages/ui-toolkit/src/card/header.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/packages/ui-toolkit/src/card/header.js b/packages/ui-toolkit/src/card/header.js index c3d9cba2..21065c8a 100644 --- a/packages/ui-toolkit/src/card/header.js +++ b/packages/ui-toolkit/src/card/header.js @@ -13,11 +13,7 @@ const StyledCard = Card.extend` box-shadow: none; width: calc(100% + ${remcalc(2)}); - margin: 0; - - top: ${remcalc(-1)}; - left: ${remcalc(-1)}; - right: ${remcalc(-1)}; + margin: ${remcalc(-1)} ${remcalc(-1)} 0 ${remcalc(-1)}; `; const Header = ({ children, ...rest }) => {