Merge pull request #45 from cinderblockgames/master
settings modal position fix
This commit is contained in:
commit
0d07f3abce
2 changed files with 3 additions and 2 deletions
|
@ -17,6 +17,7 @@ const StyledButton = styled.button`
|
||||||
border: none;
|
border: none;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
background: none;
|
background: none;
|
||||||
|
font-size: 1rem;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|
|
@ -7,9 +7,9 @@ import { IconButton } from "./icon";
|
||||||
const ModalContainer = styled.div`
|
const ModalContainer = styled.div`
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 50%;
|
left: 50%;
|
||||||
top: 50%;
|
top: 1rem;
|
||||||
padding: 1rem;
|
padding: 1rem;
|
||||||
transform: translate(-50%, -50%);
|
transform: translate(-50%, 0%);
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
border: 1px solid ${(props) => props.theme.mainColor};
|
border: 1px solid ${(props) => props.theme.mainColor};
|
||||||
background-color: ${(props) => props.theme.backgroundColor};
|
background-color: ${(props) => props.theme.backgroundColor};
|
||||||
|
|
Loading…
Add table
Reference in a new issue