Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const Wrapper = styled.nav`
background: #fff;
position: relative;
@media (max-width: 768px) {
overflow-x: auto;
width: 100%
border-bottom: 1px solid #e0d6eb;
}
@media (min-width: 769px) {
writing-mode: vertical-lr;
}
`;
const List = styled.ul`
margin: 0;
list-style: none;
white-space: nowrap;
padding: 1.25rem;
@media (max-width: 768px) {
padding-right: 1.5rem;
}
`;
const Item = styled.li`
display: inline-block;
font-weight: 600;
font-size: 1.5rem;
letter-spacing: -0.05rem;
`;
const LogoImage = styled.img`
height: 64px;
margin: 16px auto;
display: block;
${media.medium} {
height: 48px;
margin: 0;
display: inline-block;
vertical-align: middle;
}
`;
const Links = styled.ul`
display: flex;
padding: 0;
margin: 0;
list-style: none;
align-items: center;
`;
const LinkItem = styled.a`
display: block;
font-size: 1.2em;
font-weight: 700;
padding: 24px 16px;
text-decoration: none;
color: inherit;
transition: color 0.2s;
transition: 200ms;
//@flow
import {styled} from 'linaria/react'
export const TabHeader = styled.li`
border-right: 1px solid #ddd;
cursor: pointer;
font-size: 14px;
font-weight: bold;
padding: 7px 15px;
margin: 0;
background-color: ${({isActive}) => (isActive ? 'white' : 'inherit')};
`
export const TabHeaderList = styled.ul`
background: #f7f7f7;
border-bottom: 1px solid #ddd;
list-style: none;
margin: 0;
padding: 0;
display: flex;
border-left: 1px solid #ddd;
background-color: #f7f7f7;
height: 36px;
overflow-y: auto;
`