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:
cinderblockgames 2021-11-18 11:41:32 -05:00
parent e549c575e8
commit 8385ac0913

View file

@ -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};