Skip to content

Commit 141fe7e

Browse files
committed
set the item page image default width again
1 parent 7a96521 commit 141fe7e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/compounds/ItemPage/ItemPage.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import Title from '../../components/Title/Title'
99
const ItemPage = ({ descriptionStyle, img, titleStyle, ware }) => {
1010
const { description, id, name, snippet, slug } = ware
1111
// sets a default width while still allowing width to be overridden
12+
img = { width: 400, ...img }
1213

1314
return (
1415
<main className='container py-5'>

0 commit comments

Comments
 (0)