forked from MarseyWorld/MarseyWorld
stop post linked image from causing page jumps
parent
aabeca66f0
commit
bbcef78a5c
|
@ -7350,3 +7350,9 @@ button, .btn {
|
|||
object-fit: contain;
|
||||
}
|
||||
|
||||
.post-linked-img {
|
||||
height: 500px;
|
||||
width: 100%;
|
||||
object-fit: contain;
|
||||
object-position: left;
|
||||
}
|
||||
|
|
|
@ -129,7 +129,7 @@
|
|||
<div class="row no-gutters mb-4">
|
||||
<div class="col">
|
||||
<a {% if not v or v.newtabexternal %}target="_blank"{% endif %} rel="nofollow noopener" href="{{p.realurl(v)}}">
|
||||
<img loading="lazy" data-nonce="{{g.nonce}}" data-onclick="expandImage()" src="{{p.realurl(v)}}" class="img-fluid" style="max-height:500px" alt="Unable to load image">
|
||||
<img loading="lazy" data-nonce="{{g.nonce}}" data-onclick="expandImage()" src="{{p.realurl(v)}}" class="post-linked-img" alt="Unable to load image">
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue