fix top banner (#848)

This commit is contained in:
trean
2024-04-24 21:56:34 +02:00
committed by GitHub
parent da32af03c9
commit b8ea0cb8d3
3 changed files with 4 additions and 3 deletions
@@ -1,7 +1,7 @@
{{ $classes := .classes }}
{{ with (.context.Site.GetPage "/headless/top-banner") }}
<section class="top-banner{{if $classes}} {{ $classes }}{{end}}">
<div class="d-flex flex-wrap align-items-center justify-content-between">
<div class="d-flex flex-wrap align-items-center justify-content-center justify-content-md-between">
<span class="top-banner__icon"> {{ .Params.icon | safeHTML }} </span>
<span class="top-banner__text"> {{ .Params.text }}
</span>