use 100% width for devlog images

This commit is contained in:
Ell 2024-05-21 16:17:55 +02:00
parent 2e9ff2c94b
commit 596131e7d8
2 changed files with 1 additions and 2 deletions

View file

@ -12,7 +12,7 @@
{% else %} {% else %}
{% assign url = post.url | append: post.image %} {% assign url = post.url | append: post.image %}
{% endif %} {% endif %}
<img src="{{ url }}" class="devlog-image" width="90%" alt="Cover image for post {{ post.title }}"> <img src="{{ url }}" class="devlog-image" width="100%" alt="Cover image for post {{ post.title }}">
{% endif %} {% endif %}
<h4 class="devlog-title">{{ post.title }}</h4> <h4 class="devlog-title">{{ post.title }}</h4>
<div class="text-muted">{{ post.date | date_to_string }}</div> <div class="text-muted">{{ post.date | date_to_string }}</div>

View file

@ -159,7 +159,6 @@ a:visited.wide-link {
} }
.devlog-image { .devlog-image {
width: 90%;
max-height: 120px; max-height: 120px;
object-fit: cover; object-fit: cover;
margin-bottom: 10px; margin-bottom: 10px;