From 69e0e7c81c29fbaeb231c93734be17a4df4f22a3 Mon Sep 17 00:00:00 2001 From: "Grigorii K. Shartsev" Date: Fri, 2 Aug 2024 11:39:27 +0200 Subject: [PATCH 1/2] docs(NcSettingsSection): add more sections to example Signed-off-by: Grigorii K. Shartsev --- .../NcSettingsSection/NcSettingsSection.vue | 30 +++++++++++++++---- 1 file changed, 24 insertions(+), 6 deletions(-) diff --git a/src/components/NcSettingsSection/NcSettingsSection.vue b/src/components/NcSettingsSection/NcSettingsSection.vue index 8ce0eb6ea8..8f4c29252f 100644 --- a/src/components/NcSettingsSection/NcSettingsSection.vue +++ b/src/components/NcSettingsSection/NcSettingsSection.vue @@ -12,12 +12,30 @@ This component is to be used in the settings section of nextcloud. ```vue ``` From fcb4774766d025677dafb30ea09269e4037e8df9 Mon Sep 17 00:00:00 2001 From: "Grigorii K. Shartsev" Date: Fri, 2 Aug 2024 11:19:14 +0200 Subject: [PATCH 2/2] fix(NcSettingsSection): remove default h2 margin-top Signed-off-by: Grigorii K. Shartsev --- src/components/NcSettingsSection/NcSettingsSection.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/NcSettingsSection/NcSettingsSection.vue b/src/components/NcSettingsSection/NcSettingsSection.vue index 8f4c29252f..34a62b5155 100644 --- a/src/components/NcSettingsSection/NcSettingsSection.vue +++ b/src/components/NcSettingsSection/NcSettingsSection.vue @@ -128,6 +128,7 @@ $sectionMargin: calc(var(--default-grid-baseline) * 7); align-items: center; justify-content: center; max-width: $maxWidth; + margin-top: 0; // Remove default heading margin } &__info {