Fix overflown content in the cards in the resources page on tablets

Signed-off-by: Egor Savkin <es@m-labs.hk>
This commit is contained in:
Egor Savkin 2023-07-11 17:43:48 +08:00
parent 15f08a5b1a
commit 191d6a970b

View File

@ -1,6 +1,6 @@
<div class="{% if css %}{{ css }}{% else %}col-12 col-md-4{% endif %}">
<div class="{% if css %}{{ css }}{% else %}col-12 col-md-4{% endif %} mb-4">
<div class="{% if not rmcard %}card shadow{% endif %} mb-4">
<div class="{% if not rmcard %}card shadow{% endif %} h-100">
{% if not imgbottom %}
@ -17,7 +17,7 @@
</div>
{% endif %}
<div {% if sameheight %}style="height: {{ sameheight }}px"{% endif%}>
<div {% if sameheight %}style="min-height: {{ sameheight }}px"{% endif%}>
{{ body | markdown | safe }}
</div>