diff --git a/src/components/services/group.jsx b/src/components/services/group.jsx
index b3805c4f..6121b3c3 100644
--- a/src/components/services/group.jsx
+++ b/src/components/services/group.jsx
@@ -16,45 +16,47 @@ export default function ServicesGroup({ group, services, layout, fiveColumns, di
className={classNames(
layout?.style === "row" ? "basis-full" : "basis-full md:basis-1/2 lg:basis-1/3 xl:basis-1/4",
layout?.style !== "row" && fiveColumns ? "3xl:basis-1/5" : "",
- "flex-1 p-1"
+ layout?.header === false ? "flex-1 px-1 -my-1" : "flex-1 p-1",
)}
>
-
- {({ open }) => (
- <>
-
- {layout?.icon &&
-
-
-
+
+ {({ open }) => (
+ <>
+ { layout?.header !== false &&
+
+ {layout?.icon &&
+
+
+
+ }
+ {services.name}
+
+
}
- {services.name}
-
-
- {
- panel.current.style.height = `${panel.current.scrollHeight}px`;
- setTimeout(() => {panel.current.style.height = `0`}, 1);
- }}
- beforeEnter={() => {
- panel.current.style.height = `0px`;
- setTimeout(() => {panel.current.style.height = `${panel.current.scrollHeight}px`}, 1);
- }}
- >
-
-
-
-
- >
- )}
-
+ {
+ panel.current.style.height = `${panel.current.scrollHeight}px`;
+ setTimeout(() => {panel.current.style.height = `0`}, 1);
+ }}
+ beforeEnter={() => {
+ panel.current.style.height = `0px`;
+ setTimeout(() => {panel.current.style.height = `${panel.current.scrollHeight}px`}, 1);
+ }}
+ >
+
+
+
+
+ >
+ )}
+
);
}