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>
@@ -2,8 +2,9 @@
.top-banner {
display: flex;
height: rem(40);
justify-content: center;
padding-top: $spacer * 0.5;
padding-bottom: $spacer * 0.5;
align-items: center;
gap: $spacer * 1.5;
border-bottom: 1px solid #f4f6ff;
File diff suppressed because one or more lines are too long