Fixed font size and appearance of logo / docs for docs header

This commit is contained in:
Piotr Janosz
2019-07-20 17:06:05 +02:00
committed by fabioberger
parent 520c6fa426
commit bfaaefaf0a
2 changed files with 4 additions and 6 deletions

View File

@@ -117,15 +117,13 @@ const DocsLogoWrap = styled.div`
position: relative;
display: flex;
align-items: center;
font-size: 1.411764706rem;
font-size: var(--defaultHeading);
color: rgba(0, 0, 0, 0.5);
margin-left: 0.875rem;
z-index: 25;
`;
const DocsLogoLink = styled(Link)`
font-size: inherit;
color: inherit;
display: block;
margin-left: 0.625rem;
`;

View File

@@ -1,4 +1,4 @@
import * as React from 'react';
import React from 'react';
import styled from 'styled-components';
interface Props {
@@ -6,7 +6,7 @@ interface Props {
onClick?: () => void;
}
export const Hamburger: React.FunctionComponent<Props> = (props: Props) => {
export const Hamburger: React.FC<Props> = (props: Props) => {
return (
<StyledHamburger isOpen={props.isOpen} onClick={props.onClick}>
<span />