From 3f8f3492c88695ad25d61671ae7fd82729d35776 Mon Sep 17 00:00:00 2001 From: kvakazyambra Date: Sat, 25 May 2024 19:57:14 +0300 Subject: [PATCH] Fixed placeholder image size --- src/components/Feed/Placeholder/Placeholder.module.scss | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/components/Feed/Placeholder/Placeholder.module.scss b/src/components/Feed/Placeholder/Placeholder.module.scss index 02942072..56ea3f85 100644 --- a/src/components/Feed/Placeholder/Placeholder.module.scss +++ b/src/components/Feed/Placeholder/Placeholder.module.scss @@ -78,20 +78,19 @@ } .placeholderCover { + flex: 1; padding: 1.6rem; @include media-breakpoint-up(lg) { - //flex: 0 50%; - //min-width: 50%; order: 2; position: static; } img { - height: 100%; + aspect-ratio: 16/10; + min-width: 40rem; object-fit: contain; width: 100%; - //width: auto; @include media-breakpoint-up(lg) { object-position: right;