Explorar o código

fix(style): consistency across landing section breakpoints

Fix #2123
George Cushen %!s(int64=4) %!d(string=hai) anos
pai
achega
64b7d5189b
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      wowchemy/layouts/partials/widget_page.html

+ 2 - 2
wowchemy/layouts/partials/widget_page.html

@@ -113,12 +113,12 @@
       <div class="row  {{if not $st.Title | or (eq $columns "1") }}justify-content-center{{end}}">
       {{ if $st.Title }}
         {{ if eq $columns "1" }}
-          <div class="section-heading col-12 mb-3 d-flex justify-content-center">
+          <div class="section-heading col-12 mb-3 text-center">
             {{ with $st.Title }}<h1 class="mb-0">{{ . | markdownify | emojify }}</h1>{{ end }}
             {{ with $st.Params.subtitle }}<p class="mt-1">{{ . | markdownify | emojify }}</p>{{ end }}
           </div>
         {{else}}
-          <div class="section-heading col-12 col-lg-4 mb-3 mb-lg-0 d-flex justify-content-lg-start justify-content-center">
+          <div class="section-heading col-12 col-lg-4 mb-3 mb-lg-0 d-flex flex-column align-items-center align-items-lg-start">
             {{ with $st.Title }}<h1 class="mb-0">{{ . | markdownify | emojify }}</h1>{{ end }}
             {{ with $st.Params.subtitle }}<p class="mt-1">{{ . | markdownify | emojify }}</p>{{ end }}
           </div>