[WIP] Fixed reusable zIndex values. Added overlay for search in docs.

This commit is contained in:
Piotr Janosz
2019-07-21 18:00:31 +02:00
committed by fabioberger
parent d100897b20
commit 79279e5614
9 changed files with 79 additions and 51 deletions

View File

@@ -1,6 +1,8 @@
import React from 'react';
import styled from 'styled-components';
import { zIndex } from 'ts/style/z_index';
interface Props {
isOpen: boolean;
onClick?: () => void;
@@ -22,7 +24,7 @@ const StyledHamburger = styled.button<Props>`
width: 22px;
height: 16px;
position: relative;
z-index: 25;
z-index: ${zIndex.header};
padding: 0;
outline: none;
user-select: none;