Placing Settings box at top of page rather than centered. Since the box gets long pretty quickly, don't want to have it over the top.
This commit is contained in:
parent
e549c575e8
commit
8385ac0913
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…
Reference in a new issue