Skip to content
This repository has been archived by the owner on Aug 30, 2020. It is now read-only.

Commit

Permalink
improvement: set image height to improve CLS
Browse files Browse the repository at this point in the history
  • Loading branch information
irfan-maulana-tkp committed Jul 29, 2020
1 parent a055993 commit b844fa7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions client/routes/Home/components/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ const productCard = {

const productImg = {
width: '100%',
height: '130px',
objectFit: 'cover',
borderRadius: '8px 8px 0 0',
};
Expand Down
1 change: 1 addition & 0 deletions client/routes/PDP/components/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ const productCard = {

const productImg = {
width: '100%',
height: '200px',
objectFit: 'cover',
borderRadius: '8px 8px 0 0',
};
Expand Down

0 comments on commit b844fa7

Please sign in to comment.