fix: remove width class from flex containers
This commit is contained in:
parent
3e242c6f9f
commit
1d82cbfc64
|
@ -2,7 +2,7 @@
|
||||||
{{ $title := .Get 1 }}
|
{{ $title := .Get 1 }}
|
||||||
{{ $side := .Get 2 }}
|
{{ $side := .Get 2 }}
|
||||||
{{ if eq $side "right" }}
|
{{ if eq $side "right" }}
|
||||||
<div class="d-flex flex-column flex-lg-row flex-xl-row justify-content-md-center mt-5 align-items-center w-100">
|
<div class="d-flex flex-column flex-lg-row flex-xl-row justify-content-md-center mt-5 align-items-center">
|
||||||
<div class="col-md-8 col-xs-12 my-auto px-5">
|
<div class="col-md-8 col-xs-12 my-auto px-5">
|
||||||
{{ if $title }}
|
{{ if $title }}
|
||||||
<h2 class="sp-feature-title">{{ $title }}</h2>
|
<h2 class="sp-feature-title">{{ $title }}</h2>
|
||||||
|
@ -15,7 +15,7 @@
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ else }}
|
{{ else }}
|
||||||
<div class="d-flex flex-column-reverse flex-lg-row flex-xl-row justify-content-md-center mt-5 align-items-center w-100">
|
<div class="d-flex flex-column-reverse flex-lg-row flex-xl-row justify-content-md-center mt-5 align-items-center">
|
||||||
{{ if $illustration }}
|
{{ if $illustration }}
|
||||||
<div class="col-lg-4 col-md-6 col-sm-8 col-xs-12 my-auto">
|
<div class="col-lg-4 col-md-6 col-sm-8 col-xs-12 my-auto">
|
||||||
<img class="card-img-top rounded-img" src="{{ $illustration.RelPermalink }}">
|
<img class="card-img-top rounded-img" src="{{ $illustration.RelPermalink }}">
|
||||||
|
|
Loading…
Reference in New Issue