Fix separator padding and width

This commit is contained in:
Mark Dumay
2025-06-17 06:17:31 +02:00
parent be92798dec
commit 977c82b10d
3 changed files with 12 additions and 7 deletions

View File

@@ -16,5 +16,5 @@
{{ end }} {{ end }}
{{ if not $args.err }} {{ if not $args.err }}
<hr> <hr class="w-100">
{{ end }} {{ end }}

View File

@@ -34,7 +34,7 @@
{{- $style := index $component_props "wrapper" -}} {{- $style := index $component_props "wrapper" -}}
{{- $width := index $component_props "width" -}} {{- $width := index $component_props "width" -}}
{{- $justify := index $component_props "justify" | default "start" -}} {{- $justify := index $component_props "justify" | default "start" -}}
{{- $padding := "px-4 px-xxl-0 py-4" -}} {{- $padding := cond (ne $component_name "separator") "px-4 px-xxl-0 py-4" "" -}}
{{- $wrapper := $style }} {{- $wrapper := $style }}
{{ with $background }} {{ with $background }}
{{ $wrapper = partial "utilities/GetBackgroundStyle.html" (dict "background" . "class" $style) }} {{ $wrapper = partial "utilities/GetBackgroundStyle.html" (dict "background" . "class" $style) }}

View File

@@ -626,11 +626,16 @@
"fab-medium", "fab-medium",
"fab-whatsapp", "fab-whatsapp",
"fab-x-twitter", "fab-x-twitter",
"faq-0abf40cc31a1ba25c37c7b3c0cd375e6", "faq-0531e8f162271c7364df25bde932ba4a",
"faq-0abf40cc31a1ba25c37c7b3c0cd375e6-heading-faq-0abf40cc31a1ba25c37c7b3c0cd375e6", "faq-0531e8f162271c7364df25bde932ba4a-heading-faq-0531e8f162271c7364df25bde932ba4a",
"faq-0abf40cc31a1ba25c37c7b3c0cd375e6-item-0", "faq-0531e8f162271c7364df25bde932ba4a-item-0",
"faq-0abf40cc31a1ba25c37c7b3c0cd375e6-item-1", "faq-0531e8f162271c7364df25bde932ba4a-item-1",
"faq-0abf40cc31a1ba25c37c7b3c0cd375e6-item-2", "faq-0531e8f162271c7364df25bde932ba4a-item-2",
"faq-25686b4e63cfe7fc2ad1ede047ee330d",
"faq-25686b4e63cfe7fc2ad1ede047ee330d-heading-faq-25686b4e63cfe7fc2ad1ede047ee330d",
"faq-25686b4e63cfe7fc2ad1ede047ee330d-item-0",
"faq-25686b4e63cfe7fc2ad1ede047ee330d-item-1",
"faq-25686b4e63cfe7fc2ad1ede047ee330d-item-2",
"fas-1", "fas-1",
"fas-2", "fas-2",
"fas-3", "fas-3",