fix: illustration size on smaller screens

This commit is contained in:
nevfy 2024-01-09 03:16:42 +04:00
parent 1e3baa7d34
commit 3e242c6f9f

View file

@ -10,14 +10,14 @@
{{ .Inner }}
</div>
{{ if $illustration }}
<div class="col-md-4 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 }}">
</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">
{{ if $illustration }}
<div class="col-md-4 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 }}">
</div>
{{ end }}