Skip to content

Commit

Permalink
Center card
Browse files Browse the repository at this point in the history
  • Loading branch information
vallezw committed Apr 2, 2021
1 parent 35e110c commit ec96e6d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 3 additions & 3 deletions frontend/src/App.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
.cardContainer {
position: absolute;
top: 40%;
left: 48.8%;
margin: -100px 0 0 -150px;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}

.loading {
Expand Down
4 changes: 3 additions & 1 deletion frontend/src/Components/ComponentUtils/ImageUploadCard.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ const useStyles = makeStyles({
paddingTop: "10px",
paddingBottom: "10px",
borderRadius: "7px",
boxShadow: "0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19)"
boxShadow: "0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19)",
display: "grid",
placeItems: "center"
},
headerText: {
fontFamily: "roboto",
Expand Down

0 comments on commit ec96e6d

Please sign in to comment.