Fixed font size and appearance of logo / docs for docs header
This commit is contained in:
committed by
fabioberger
parent
520c6fa426
commit
bfaaefaf0a
@@ -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;
|
||||
`;
|
||||
|
||||
|
||||
@@ -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 />
|
||||
|
||||
Reference in New Issue
Block a user