Merge pull request #1 from cinderblockgames/default-select
Placing Settings modal at the top of the page.
This commit is contained in:
commit
f812b558cf
1 changed files with 2 additions and 2 deletions
|
@ -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