fix: illustration size on smaller screens

pull/102/head
nevfy 2024-01-09 03:16:42 +04:00
parent 1e3baa7d34
commit 3e242c6f9f
1 changed files with 2 additions and 2 deletions

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 }}