diff --git a/packages/portal/src/components/page/PageCookiesSection.vue b/packages/portal/src/components/page/PageCookiesSection.vue
index 077895ac45..a375fb2591 100644
--- a/packages/portal/src/components/page/PageCookiesSection.vue
+++ b/packages/portal/src/components/page/PageCookiesSection.vue
@@ -47,24 +47,20 @@
{{ $tc('klaro.main.consentModal.servicesCount', servicesCount, { count: $n(servicesCount)}) }}
-
+ class="nested-section"
+ :class="{'pl-0': depth > COLLAPSIBLE_DEPTH_LIMIT}"
+ :checked-services="checkedServices"
+ :depth="depth + 1"
+ :service-data="subService"
+ :show="show"
+ @toggle="toggleDisplay"
+ @update="updateServiceConsent"
+ />
+
@@ -177,10 +173,12 @@
padding-left: 2rem;
}
- ul {
+ .nested-section {
padding-left: 2rem;
- margin-bottom: 0.5rem;
- list-style: none;
+
+ &:last-child {
+ margin-bottom: 0.5rem;
+ }
}
.label {
diff --git a/packages/portal/src/components/page/PageCookiesWidget.vue b/packages/portal/src/components/page/PageCookiesWidget.vue
index e53956cf86..e1e14b90ba 100644
--- a/packages/portal/src/components/page/PageCookiesWidget.vue
+++ b/packages/portal/src/components/page/PageCookiesWidget.vue
@@ -66,20 +66,15 @@
-
+