diff --git a/src/components/CasesSection/CasesSection.js b/src/components/CasesSection/CasesSection.js
index 1343a8e3..444b0cec 100644
--- a/src/components/CasesSection/CasesSection.js
+++ b/src/components/CasesSection/CasesSection.js
@@ -10,27 +10,33 @@ const CasesSection = ({ data }) => {
const casos = cases.map(caso =>
casesData?.allStrapiCase?.nodes.find(ca => ca.strapiId === caso.id)
)
-
const casesCards = casos.map((caso, idx) => {
const image = getImage(caso?.image?.localFile)
return (
-
+
@@ -41,9 +47,9 @@ const CasesSection = ({ data }) => {
return (
{title &&
{title}
}
- {(casesCards !== undefined && casesCards.length > 0) &&
+ {casesCards !== undefined && casesCards.length > 0 && (
{casesCards}
- }
+ )}
)
}
diff --git a/src/components/CasesSection/CasesSection.scss b/src/components/CasesSection/CasesSection.scss
index 5712d7e7..4c3bbe58 100644
--- a/src/components/CasesSection/CasesSection.scss
+++ b/src/components/CasesSection/CasesSection.scss
@@ -10,7 +10,7 @@
.case {
color: $primary;
--bs-gutter-x: 0 !important;
- padding: 10px;
+ padding: 30px;
&__img {
height: 200px;
width: 100%;