diff --git a/main/styleguide/source/_patterns/molecules/articles/main-article-preview.mustache b/main/styleguide/source/_patterns/molecules/articles/main-article-preview.mustache index 9d2c39e800ff6a219e4123efe5d37ed030d40f9b..9985aea0fd4c4f4f82b9746f790465a14a683aff 100644 --- a/main/styleguide/source/_patterns/molecules/articles/main-article-preview.mustache +++ b/main/styleguide/source/_patterns/molecules/articles/main-article-preview.mustache @@ -1,7 +1,7 @@ <div class="flex flex-wrap mb-5 lg:mb-10"> <a href="#"> <img src="https://i.picsum.photos/id/361/576/576.jpg?hmac=kb62KiZkyDuigb46DUJQd7QvQM6LfYFolTdIMwEqei4" alt="" - class="lg:max-w-lg lg:mr-11 h-fit"> + class="lg:max-w-lg lg:mr-11"> </a> <div class="flex flex-col max-w-xl items-start"> <span class="text-green-500 head-3xl mt-10 mb-4 lg:mb-8">2.3.2022</span> diff --git a/main/templates/main/blocks/news_block.html b/main/templates/main/blocks/news_block.html index 7382583fd6b5dda4287af5fa734f0f5c17eecafd..e9eab73e65ea07191b2759a46828b6cef335a755 100644 --- a/main/templates/main/blocks/news_block.html +++ b/main/templates/main/blocks/news_block.html @@ -9,7 +9,7 @@ <div class="flex flex-wrap mb-5 lg:mb-10"> {% image article_main.image fill-576x576 as article_img %} <a href="{{ article_main.url }}"> - <img src="{{ article_img.url }}" draggable="false" alt="" class="lg:max-w-lg lg:mr-11 h-fit"> + <img src="{{ article_img.url }}" draggable="false" alt="" class="lg:max-w-lg lg:mr-11"> </a> <div class="flex flex-col max-w-xl items-start"> <span class="text-green-500 head-3xl mt-10 mb-4 lg:mb-8">{{ article_main.date }}</span>