Skip to content

Commit

Permalink
Worked on the #37
Browse files Browse the repository at this point in the history
Image size  attached to the related Card/grid components reconfigured
  • Loading branch information
IremToroslu committed May 15, 2021
1 parent d265882 commit 13841e0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions 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,
maxHeight:150,
marginTop:50,
padding: '8px 16px 8px 16px',
// padding: '8px 16px 8px 16px',
'&:hover': {
borderColor: '#8b8d94',//'#7b9095', //'#00b300'
'&:nth-child(n) > span': {
Expand Down Expand Up @@ -47,7 +47,7 @@ function MiniCardComponent({ className = '', title, value, path }) {
return (
<Column flexGrow={1} className={composedClassName} horizontal='center' vertical='center'>
{/* Resize the image on the cards (product images) */}
<div style={{ width: 150, paddingLeft: 20, paddingTop: 20, paddingBottom: 20 }}>
<div style={{ width: 130, paddingTop: 20, paddingBottom: 20 }}>
{/* define the image path */}
<img src={path} alt='' />
</div>
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/header/HeaderComponent.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ function HeaderComponent() {

return (
<Row className={classes.container} style={{background:'#212121', marginLeft:-90,marginTop:-40,height:60}} vertical='center' horizontal='space-between'>
<span className={classes.title} style={{marginLeft:20, fontSize:20, fontWeight:'inherit',marginTop:20}}>{ title } <UseArrow isProductSelected={selectedProducts[0].productName} />{subtitle}<UseArrow isProductSelected={selectedProducts[0].productName} />{subsubtitle}</span>
<span className={classes.title} style={{marginLeft:20, marginTop:20}}>{ title } <UseArrow isProductSelected={selectedProducts[0].productName} />{subtitle}<UseArrow isProductSelected={selectedProducts[0].productName} />{subsubtitle}</span>
<Row vertical='center'>
<div className={classes.iconStyles}>
<IconSearch />
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/resources/theme.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const typography = {
},
title: {
fontWeight: 'bold',
fontSize: 24,
fontSize: 40,
lineHeight: '30px',
letterSpacing: 0.3
}
Expand Down

0 comments on commit 13841e0

Please sign in to comment.