Skip to content

Commit

Permalink
worked on the #37
Browse files Browse the repository at this point in the history
Card and button component allignment

Co-authored-by: Martin Wagner <martin.wagner@fau.de>
Co-authored-by: Mani Anand <mani.anand@fau.de>
  • Loading branch information
3 people committed May 17, 2021
1 parent 5c22b9d commit 1747a29
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion frontend/src/components/cards/MiniCardComponent.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const useStyles = createUseStyles((theme) => ({
maxWidth: 350,
minWidth:210, // resizing the card min width
maxHeight:150,
marginTop:50,
// marginTop:50,
// padding: '8px 16px 8px 16px',
'&:hover': {
borderColor: theme.uniformStyle.color.tableHeaderColor ,
Expand Down
5 changes: 3 additions & 2 deletions frontend/src/components/productGrid/ProductGridComponent.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,14 +79,15 @@ function ProductGridComponent() {
// Card component style properties
const useStyles = createUseStyles({
cardRow: {
marginTop: 30,
marginTop:-50,
'@media (max-width: 768px)': {
marginTop: 0
// marginTop: 30
}
},
miniCardContainer: {
marginRight: 30,
marginLeft:30,
marginTop:30,
'@media (max-width: 768px)': {
marginTop: 30,
maxWidth: 'none',
Expand Down

0 comments on commit 1747a29

Please sign in to comment.