From 3344af241f2091a0fc432eb14612e65ada23e141 Mon Sep 17 00:00:00 2001 From: muhammadharoun Date: Thu, 4 Nov 2021 12:47:35 +0200 Subject: [PATCH] change func name add margin --- client/src/components/ImageSection/ImageSection.js | 4 ++-- client/src/components/ImageSection/imageSection.css | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/client/src/components/ImageSection/ImageSection.js b/client/src/components/ImageSection/ImageSection.js index 933d6a8..774b7a5 100644 --- a/client/src/components/ImageSection/ImageSection.js +++ b/client/src/components/ImageSection/ImageSection.js @@ -1,6 +1,6 @@ import './imageSection.css'; -function imageSection({ arr }) { +function ImageSection({ arr }) { const mainImage = arr[0]; const images = arr.slice(1); return ( @@ -25,4 +25,4 @@ function imageSection({ arr }) { ); } -export default imageSection; +export default ImageSection; diff --git a/client/src/components/ImageSection/imageSection.css b/client/src/components/ImageSection/imageSection.css index 68c6dbf..0a81431 100644 --- a/client/src/components/ImageSection/imageSection.css +++ b/client/src/components/ImageSection/imageSection.css @@ -21,5 +21,6 @@ min-width: 100%; min-height: 30%; margin-left:10px; - /* margin-top: 10px; */ + margin-bottom: 6px; + } \ No newline at end of file