css: use max-width for better image preview
This commit is contained in:
parent
56e0e02a7b
commit
1f4e5a77ca
2 changed files with 8 additions and 3 deletions
|
|
@ -355,9 +355,9 @@ let view_post ?is_thread_preview post_id =
|
|||
(*TODO thumbnails *)
|
||||
Format.sprintf
|
||||
{|
|
||||
<div class="postImage">
|
||||
<div class="postImageContainer">
|
||||
<a title="%s" href="/post_pic/%s">
|
||||
<img src="/post_pic/%s" style="width:200px;height:200px;" loading="lazy">
|
||||
<img class= "postImage" src="/post_pic/%s" loading="lazy">
|
||||
</a>
|
||||
</div>
|
||||
|}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue