Merge pull request #1 from cinderblockgames/default-select

Placing Settings modal at the top of the page.
This commit is contained in:
cinderblockgames 2021-11-18 11:47:12 -05:00 committed by GitHub
commit f812b558cf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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