From f3076d1db1ec5768c91a9990a647a46ac18d263e Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Tue, 21 May 2024 16:31:30 +0200 Subject: [PATCH] this is the least fun i've ever had with web design --- web/_includes/devlog_category.html | 4 +--- web/style.css | 3 +-- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/web/_includes/devlog_category.html b/web/_includes/devlog_category.html index e2e8a5d..04c1bc8 100644 --- a/web/_includes/devlog_category.html +++ b/web/_includes/devlog_category.html @@ -12,9 +12,7 @@ {% else %} {% assign url = post.url | append: post.image %} {% endif %} -
- Cover image for post {{ post.title }} -
+ Cover image for post {{ post.title }} {% endif %}

{{ post.title }}

{{ post.date | date_to_string }}
diff --git a/web/style.css b/web/style.css index 09d9822..d7af0d8 100644 --- a/web/style.css +++ b/web/style.css @@ -158,8 +158,7 @@ a:visited.wide-link { margin-top: 20px; } -.devlog-image img { - height: 120px; +.devlog-image { object-fit: cover; margin-bottom: 10px; }