From 2b08f672b3fff2792e087a7469cbb1e552ca9cd4 Mon Sep 17 00:00:00 2001 From: rozhnovaYana Date: Thu, 13 Jun 2024 14:27:19 +0300 Subject: [PATCH] fixed image bug --- assets/findify-content-card.css | 39 ++++++++++++++++++--------------- 1 file changed, 21 insertions(+), 18 deletions(-) diff --git a/assets/findify-content-card.css b/assets/findify-content-card.css index 03e9c09..dfd3749 100644 --- a/assets/findify-content-card.css +++ b/assets/findify-content-card.css @@ -1,18 +1,21 @@ -.adapt-content-img { - width: 100%; - aspect-ratio: 2/1; - object-fit: cover; -} - -.content-fallback-img { - background: #f9f9f9; - display: flex; - justify-content: center; - align-items: center; -} - -.findify-rating-container { - align-items: center; - display: flex; - gap: 10px; -} +.adapt-content-img { + width: 100%; + aspect-ratio: 2/1; + object-fit: cover; +} + +.content-fallback-img { + background: #f9f9f9; + display: flex; + justify-content: center; + align-items: center; +} + +.findify-rating-container { + align-items: center; + display: flex; + gap: 10px; +} +.findify-content-card img { + width: 100%; +}