From af392fd12757ffd8a056207f785dab6adf30df9a Mon Sep 17 00:00:00 2001
From: Uwe Jandt <uwe.jandt@desy.de>
Date: Mon, 29 Nov 2021 11:16:21 +0100
Subject: [PATCH] tweak css for news cards to fit "milestones"

---
 _includes/cards/post_card.html | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/_includes/cards/post_card.html b/_includes/cards/post_card.html
index 80c0083b3..a6387a803 100644
--- a/_includes/cards/post_card.html
+++ b/_includes/cards/post_card.html
@@ -19,7 +19,7 @@ post: The post which sould be displayed on the card
 {%- endif -%}
 <div class="card image-card bg-primary">
     <img src="{{ img_url }}" class="card-img" alt="Title image for {{ post.title }}">
-    <div class="card-img-overlay">
+    <div class="card-img-overlay" style="padding-left: 0.5rem !important;padding-right: 0.5rem !important;">
         <div class="card-title">
             <span class="badge badge-secondary">
                 <i class="fas fa-calendar-day" aria-hidden="true"></i>
@@ -30,7 +30,7 @@ post: The post which sould be displayed on the card
                 {{ include.post.categories.first | capitalize }}
             </span>
         </div>
-        <div class="card-text">
+        <div class="card-text" style="padding-left: 0.7rem !important;padding-right: 0.7rem !important;">
             <a href="{{ include.post.url | relative_url }}" class="stretched-link">
                 <h4>{{ include.post.title }}</h4>
             </a>
-- 
GitLab