From 6357a8eb4416a0eaf0502512dfd2b8431b1f24e3 Mon Sep 17 00:00:00 2001 From: dyhj625 Date: Tue, 1 Apr 2025 15:45:02 +0900 Subject: [PATCH] =?UTF-8?q?=EC=95=84=EC=9D=B4=EC=BD=98=20=EB=B0=98?= =?UTF-8?q?=EC=9D=91=ED=98=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layouts/TheTop.vue | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/src/layouts/TheTop.vue b/src/layouts/TheTop.vue index e64e21e..42ebb3f 100644 --- a/src/layouts/TheTop.vue +++ b/src/layouts/TheTop.vue @@ -360,7 +360,7 @@ const customIconClass = computed(() => { if (weather.value.icon === "01d" || weather.value.icon === "01n") { - return "weather-icon custom-sunny-icon"; + return "custom-sunny-icon"; } return "weather-icon"; }); @@ -440,7 +440,17 @@ overflow: hidden; } .custom-sunny-icon { - width: 5% !important; - height: 5% !important; + width: 5%; + height: auto; +} +@media (max-width: 1200px) { + .custom-sunny-icon { + width: 6%; + } +} +@media (max-width: 1100px) { + .custom-sunny-icon { + width: 14%; + } }