Skip to content

Commit

Permalink
rework card_item (#37)
Browse files Browse the repository at this point in the history
rework card_item

Reviewed-by: Anton Sidelnikov
  • Loading branch information
tischrei authored Jun 13, 2024
1 parent cd09654 commit 7e7e690
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions otc_sphinx_directives/card_item.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,11 @@ def card_item_html(self, node):
<div class="card-item">
<div>
<img
style="width: 100%; max-height: 160px; margin: 0;"
class="card-item-img"
src="{node['image']}"
alt="{node['title']}"
</img>
<div style="padding: 1rem;display: flex;flex-direction: column;">
<div class="card-item-content">
<h4 style="margin: 0px 0 1rem 0; font: var(--telekom-text-style-heading-4);">{node['title']}</h4>
<div style="padding-bottom: 1rem;">
{node['description']}
Expand Down

0 comments on commit 7e7e690

Please sign in to comment.