Skip to content
Snippets Groups Projects
Commit af392fd1 authored by Uwe Jandt (DESY, HIFIS)'s avatar Uwe Jandt (DESY, HIFIS)
Browse files

tweak css for news cards to fit "milestones"

parent d95a41b4
No related branches found
No related tags found
1 merge request!344Resolve "News Post: Process Framework 1.0 online"
......@@ -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>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment