fix: remove width class from flex containers

This commit is contained in:
nevfy 2024-01-09 03:31:05 +04:00
parent 3e242c6f9f
commit 1d82cbfc64

View file

@ -2,7 +2,7 @@
{{ $title := .Get 1 }}
{{ $side := .Get 2 }}
{{ 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">
{{ if $title }}
<h2 class="sp-feature-title">{{ $title }}</h2>
@ -15,7 +15,7 @@
</div>
{{ end }}
{{ 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 }}
<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 }}">