Skip to content

Commit 5fc43b9

Browse files
committed
fix: do not apply component padding to section layout
Use site-wide padding only, padding setting is passed to bookshop component instead.
1 parent 9115ca3 commit 5fc43b9

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

component-library/helpers/component.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
{{- $class := index . 2 | default "p-0" -}}
1717
{{- $bgclass := index . 3 | default "" -}}
1818
{{- $padding := partial "utilities/GetPadding.html" -}}
19-
{{- with index $component_props "padding" }}{{ $padding = dict "x" . "y" . }}{{ end -}}
2019
{{- $component_path := partial "_bookshop/helpers/component_key" $component_name -}}
2120
{{- $flat_component_path := partial "_bookshop/helpers/flat_component_key" $component_name -}}
2221

0 commit comments

Comments
 (0)