Skip to content

Commit

Permalink
fix: make active tab more clear
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanHotsiy committed Jan 24, 2018
1 parent 6c71a66 commit 4b5df22
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/common-elements/tabs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,16 @@ export const Tabs = styled(ReactTabs)`
display: inline-block;
flex: 1;
background-color: rgba(0, 0, 0, 0.2);
border-bottom: 1px solid rgba(0, 0, 0, 0.5);
cursor: pointer;
text-align: center;
outline: none;
color: #ccc;
&.react-tabs__tab--selected {
background-color: #171e21;
color: #fff;
background: rgba(0, 0, 0, 0.5);
border-bottom: 1px solid ${props => props.theme.schemaView.linesColor};
}
&:only-child {
Expand Down

0 comments on commit 4b5df22

Please sign in to comment.