make padding consistent for copyright section and custom footer

This commit is contained in:
Attila Greguss
2024-12-20 10:24:46 +00:00
parent 243f4f5173
commit c36a1efea4
2 changed files with 2 additions and 1 deletions

View File

@ -119,6 +119,7 @@ The following classes can be used to customize various parts of the theme.
#### Footer
- `hextra-footer` - The footer element
- `custom-footer` - The custom footer section container
#### Search

View File

@ -27,7 +27,7 @@
{{- end -}}
{{- end -}}
<div
class="{{ $footerWidth }} hx-pl-[max(env(safe-area-inset-left),0rem)] hx-pr-[max(env(safe-area-inset-right),0rem)] hx-text-gray-600 dark:hx-text-gray-400"
class="custom-footer {{ $footerWidth }} hx-pl-[max(env(safe-area-inset-left),1.5rem)] hx-pr-[max(env(safe-area-inset-right),1.5rem)] hx-text-gray-600 dark:hx-text-gray-400"
>
{{ partial "custom/footer.html" (dict "context" . "aboveVisible" $footerSwitchesVisible "belowVisible" $copyrightSectionVisible ) }}
</div>