From 7119916b899571124bf82f7afe467628b71526f7 Mon Sep 17 00:00:00 2001 From: Vyacheslav Date: Sun, 13 Jul 2025 18:35:18 +0500 Subject: [PATCH] Revert "vibe-coding adaptive design" This reverts commit 2625f143e7e62b0f3960c7d6537e6072c39e13c7. --- src/components/Timer/Timer.module.css | 19 +------------ src/pages/Timers/Timers.module.css | 39 +++------------------------ 2 files changed, 4 insertions(+), 54 deletions(-) diff --git a/src/components/Timer/Timer.module.css b/src/components/Timer/Timer.module.css index 4d949ca..a6eaa2b 100644 --- a/src/components/Timer/Timer.module.css +++ b/src/components/Timer/Timer.module.css @@ -31,7 +31,6 @@ border-color: #DCC3F8; border-width: 0.8rem; border-style: solid; - margin: 0 auto; } .clock_text { @@ -55,22 +54,6 @@ gap: 1.6rem; } -@media (max-width: 768px) { - .timer_container { - width: 100%; - max-width: 350px; - } - - .clock { - width: 22rem; - height: 22rem; - } - - .clock_text { - font-size: 3.5rem; - } - } - .dates_item { display: flex; justify-content: center; @@ -92,4 +75,4 @@ flex-direction: row; gap: 1.0rem; justify-content: center; -} +} \ No newline at end of file diff --git a/src/pages/Timers/Timers.module.css b/src/pages/Timers/Timers.module.css index ac51d83..5f35257 100644 --- a/src/pages/Timers/Timers.module.css +++ b/src/pages/Timers/Timers.module.css @@ -13,41 +13,8 @@ body, html { gap: 1.6rem; } -.mobile_row { - display: flex; - gap: 1.6rem; -} - -@media (max-width: 768px) { - .header { - flex-direction: column; - align-items: center; - } - - .header .header_item:first-child { - align-self: center; - margin: 0 auto; - } - - .mobile_row { - display: flex; - width: 100%; - justify-content: space-between; - align-items: center; - margin-top: 1rem; - } - - .header .header_item:nth-child(2) { - margin-left: 0; - } - - .timers_container { - justify-content: center; - } - - .title { - font-size: 3.2rem; - } +.header .header_item:nth-child(2) { + margin-left: auto; } .content { @@ -75,4 +42,4 @@ body, html { justify-content: space-between; flex-wrap: wrap; gap: 1.6rem; -} +} \ No newline at end of file