From cd0775ca0d472a0bc5d48da02df193ce3f827e50 Mon Sep 17 00:00:00 2001 From: Gadzhi Ibragimov Date: Wed, 7 Feb 2024 10:13:15 +0300 Subject: [PATCH] =?UTF-8?q?=D0=BE=D1=82=D0=BA=D0=BE=D1=80=D1=80=D0=B5?= =?UTF-8?q?=D0=BA=D1=82=D0=B8=D1=80=D0=BE=D0=B2=D0=B0=D0=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- styles/style.css | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/styles/style.css b/styles/style.css index e7fc158..8f119b7 100644 --- a/styles/style.css +++ b/styles/style.css @@ -58,13 +58,14 @@ ol { .search-form { display: flex; justify-content: space-between; + align-items: flex-start; } .content__list { position: relative; display: flex; flex-direction: column; - height: 298px; + block-size: 298px; overflow: auto; } @@ -75,15 +76,16 @@ ol { .content__details { display: flex; flex-direction: column; + justify-content: space-between; gap: 26px; - width: 100%; - height: 100%; + block-size:100%; + inline-size: 100%; } .result__video-container { position: relative; - width: 711px; - height: 386px; + inline-size: 711px; + block-size: 386px; margin-bottom: 16px; } @@ -97,6 +99,7 @@ ol { .content__video-card { display: flex; justify-content: space-between; + align-items:flex-start; } .content__video-card-thumbnail { @@ -105,10 +108,7 @@ ol { } .content__video-card-description-container { - display: flex; - flex-direction: column; - gap: 6px; - width: 100%; +flex-grow: 1; } .search-form__fieldset-title {