Parcourir la source

fix(style): consistency across landing section breakpoints

Fix #2123
George Cushen il y a 4 ans
Parent
commit
64b7d5189b
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  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>