refactor(ui): use variables for z-index values (#3453)

This commit is contained in:
Manish Giri
2020-03-24 09:46:47 -04:00
committed by GitHub
parent c6ef7e555f
commit a91e8316f7
19 changed files with 61 additions and 31 deletions

View File

@ -9,6 +9,7 @@ import {
colors,
colorsRaw,
lengths,
zIndex,
} from 'netlify-cms-ui-default';
const LoginButton = styled.button`
@ -38,7 +39,7 @@ const AuthInput = styled.input`
margin-top: 6px;
width: 100%;
position: relative;
z-index: 1;
z-index: ${zIndex.zIndex1};
&:focus {
outline: none;