Skip to content
This repository has been archived by the owner on Apr 15, 2019. It is now read-only.

Commit

Permalink
Fix shadow on tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
slaweet committed Aug 24, 2017
1 parent 59889aa commit eef9e35
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/components/tabs/tabs.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
1 change: 1 addition & 0 deletions src/components/tabs/tabs.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ const getIndex = history => (

const Tabs = props => (
<ToolboxTabs index={getIndex(props.history)}
theme={styles}
onChange={index => props.history.push(`${tabs[index].toLowerCase()}`)}
className={`${styles.tabs} main-tabs`}>
{getTabs(props.isDelegate).map((tab, index) =>
Expand Down

0 comments on commit eef9e35

Please sign in to comment.