Skip to content

Commit

Permalink
fixed observation results' width and margin bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Hyphen Frox committed Sep 5, 2021
1 parent 66888e9 commit 376cce3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/ObservationCard.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const useStyles = makeStyles((theme) => ({
backgroundColor: theme.palette.secondary.main,
width: "100%",
[theme.breakpoints.up(325)]: {
maxWidth: 325,
width: 325,
},
},
observationCommonName: {
Expand Down
4 changes: 2 additions & 2 deletions src/pages/Homepage.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ const useStyles = makeStyles((theme) => ({
flexFlow: "column nowrap",
alignItems: "center",
"& > * + *": {
marginTop: "0.5em",
marginTop: "1em",
},
[theme.breakpoints.up("sm")]: {
[theme.breakpoints.up(325)]: {
flexFlow: "row wrap",
alignItems: "initial",
justifyContent: "center",
Expand Down

0 comments on commit 376cce3

Please sign in to comment.