Skip to content
This repository was archived by the owner on Feb 23, 2024. It is now read-only.

Commit 795a698

Browse files
committed
address CSS feedback
1 parent 75d00bb commit 795a698

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

assets/js/atomic/blocks/product-elements/product-image-gallery/edit.tsx

+1-9
Original file line numberDiff line numberDiff line change
@@ -17,22 +17,14 @@ const Placeholder = () => {
1717
<div className="wc-block-editor-product-gallery">
1818
<img
1919
src={ `${ WC_BLOCKS_IMAGE_URL }template-placeholders/fallback.svg` }
20-
style={ {
21-
width: '500px',
22-
height: '500px',
23-
} }
2420
alt="Placeholder"
2521
/>
26-
<div className="wc-block-editor-product-gallery__gallery">
22+
<div className="wc-block-editor-product-gallery__other-images">
2723
{ [ ...Array( 4 ).keys() ].map( ( index ) => {
2824
return (
2925
<img
3026
key={ index }
3127
src={ `${ WC_BLOCKS_IMAGE_URL }template-placeholders/fallback.svg` }
32-
style={ {
33-
width: '100px',
34-
height: '100px',
35-
} }
3628
alt="Placeholder"
3729
/>
3830
);

assets/js/atomic/blocks/product-elements/product-image-gallery/editor.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
width: 500px;
44
height: 500px;
55
}
6-
.wc-block-editor-product-gallery__gallery {
6+
.wc-block-editor-product-gallery__other-images {
77
img {
88
width: 100px;
99
height: 100px;

0 commit comments

Comments
 (0)