moved margin from theming to Navbar
This commit is contained in:
parent
cb33dacf4a
commit
764883f3e2
2 changed files with 3 additions and 3 deletions
|
@ -59,6 +59,7 @@ const StyledImg = styled.img`
|
|||
|
||||
const StyledLink = styled(Link)`
|
||||
${theming.styles.navbarButtonStyle}
|
||||
margin: 0 0.2rem 0 0.2rem;
|
||||
`
|
||||
|
||||
export default class Navbar extends React.Component {
|
||||
|
|
|
@ -43,13 +43,12 @@ export default {
|
|||
},
|
||||
styles: {
|
||||
navbarButtonStyle: css`
|
||||
cursor: pointer;
|
||||
font-size: 1em;
|
||||
cursor: pointer; /* so it can be applies to divs too */
|
||||
font-size: 1rem;
|
||||
border-radius: 0.5rem;
|
||||
float: left;
|
||||
padding: 14px 16px;
|
||||
text-decoration: none;
|
||||
margin: 0.1em;
|
||||
transition: transform 0.1s linear;
|
||||
color: ${(props) =>
|
||||
theme(props.theme.currentTheme, {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue