mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy.org.git
synced 2024-11-14 12:43:17 +00:00
fix: illustration size on smaller screens
This commit is contained in:
parent
1e3baa7d34
commit
3e242c6f9f
|
@ -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 }}
|
||||
|
|
Loading…
Reference in a new issue