Merge pull request #9 from RandellDawson/feature/styled-tab-borders

Restyled tab borders to remove doubled-up borders.
This commit is contained in:
Randell Dawson
2018-11-27 18:06:04 -08:00
committed by mrugesh mohapatra
parent e31396931e
commit 9332d4eb14

View File

@ -13,11 +13,17 @@ const Tab = styled.div`
font-size: 18px; font-size: 18px;
padding: 5px; padding: 5px;
border: 2px solid blue; border: 2px solid blue;
border-left: none;
&:hover { &:hover {
cursor: pointer; cursor: pointer;
background: blue; background: blue;
color: white; color: white;
} }
&:first-child {
border-left: 2px solid blue;
}
`; `;
const Tabs = ({ view, onViewChange }) => { const Tabs = ({ view, onViewChange }) => {