From eef9e356b4df8566589dd3b12808b0fc26b66928 Mon Sep 17 00:00:00 2001 From: Vit Stanislav Date: Thu, 24 Aug 2017 12:20:39 +0200 Subject: [PATCH] Fix shadow on tabs --- src/components/tabs/tabs.css | 10 ++++++++++ src/components/tabs/tabs.js | 1 + 2 files changed, 11 insertions(+) diff --git a/src/components/tabs/tabs.css b/src/components/tabs/tabs.css index c1a2fa824..ea3f3a08b 100644 --- a/src/components/tabs/tabs.css +++ b/src/components/tabs/tabs.css @@ -5,6 +5,16 @@ padding-left: 24px; } +.navigationContainer { + overflow: hidden; + margin-left: -2px; +} +.navigationContainer .navigation { + padding-left: 0; + box-shadow: 0px 1px 1px 1px rgba(0, 0, 0, 0.12); + margin-left: 2px; +} + .tabs nav { overflow: hidden; } diff --git a/src/components/tabs/tabs.js b/src/components/tabs/tabs.js index 6ff9e1c7f..0b91f5dd7 100644 --- a/src/components/tabs/tabs.js +++ b/src/components/tabs/tabs.js @@ -16,6 +16,7 @@ const getIndex = history => ( const Tabs = props => ( props.history.push(`${tabs[index].toLowerCase()}`)} className={`${styles.tabs} main-tabs`}> {getTabs(props.isDelegate).map((tab, index) =>