From 001df081ead522683342cef5692f8f9626e313bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20FAMIBELLE-PRONZOLA?= Date: Tue, 8 Apr 2025 10:24:29 +0400 Subject: [PATCH] change mobile breakpoint --- css/styles.css | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/css/styles.css b/css/styles.css index 9b4e195..8f291ac 100644 --- a/css/styles.css +++ b/css/styles.css @@ -580,7 +580,7 @@ img { } /* Media Queries */ -@media (max-width: 1200px) and (min-width: 769px) { +@media (max-width: 1200px) and (min-width: 1001px) { .sidebar { width: 70px; } @@ -646,13 +646,7 @@ img { } } -@media (max-width: 992px) { - .video-grid { - grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); - } -} - -@media (max-width: 768px) { +@media (max-width: 1000px) { .sidebar { display: none; } @@ -702,6 +696,12 @@ img { } } +@media (max-width: 992px) { + .video-grid { + grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); + } +} + @media (max-width: 576px) { .video-grid { grid-template-columns: 1fr;