Compare commits

..

3 Commits

Author SHA1 Message Date
Attila Greguss
78d038ee31 Merge c36a1efea4 into 655148f329 2024-12-20 10:24:50 +00:00
Attila Greguss
c36a1efea4 make padding consistent for copyright section and custom footer 2024-12-20 10:24:46 +00:00
Attila Greguss
243f4f5173 Merge remote-tracking branch 'upstream/main' into custom-footer 2024-12-20 10:03:57 +00:00
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>