From c03be02922abf891af58d401bf8d571d8b7440e7 Mon Sep 17 00:00:00 2001 From: Lionell Briones Date: Tue, 5 Nov 2024 14:50:43 +0800 Subject: [PATCH 1/2] - change change theme position - fix responsive --- src/assets/main.css | 6 ++-- src/components/LoginCard/LoginCard.vue | 30 ----------------- src/components/LoginCard/index.ts | 3 -- .../TelegramBanner/TelegramBanner.vue | 2 +- src/views/Login.vue | 32 +++++++++++++------ 5 files changed, 27 insertions(+), 46 deletions(-) delete mode 100644 src/components/LoginCard/LoginCard.vue delete mode 100644 src/components/LoginCard/index.ts diff --git a/src/assets/main.css b/src/assets/main.css index b39abeb..72af920 100644 --- a/src/assets/main.css +++ b/src/assets/main.css @@ -37,7 +37,7 @@ html { right: 0; transform: translate(-100%, -40%) !important; position: absolute !important; - z-index: 999999; + z-index: 999990; } #w3a-modal::before { @@ -72,11 +72,11 @@ html { top: 50% !important; left: 50% !important; right: 0; - transform: translate(-50%, -20%) !important; + transform: translate(-55%, -40%) !important; } } -@media only screen and (max-width: 830px) { +@media only screen and (max-width: 768px) { #w3a-modal { width: 100%; } diff --git a/src/components/LoginCard/LoginCard.vue b/src/components/LoginCard/LoginCard.vue deleted file mode 100644 index 2a97c43..0000000 --- a/src/components/LoginCard/LoginCard.vue +++ /dev/null @@ -1,30 +0,0 @@ - - - diff --git a/src/components/LoginCard/index.ts b/src/components/LoginCard/index.ts deleted file mode 100644 index b78085b..0000000 --- a/src/components/LoginCard/index.ts +++ /dev/null @@ -1,3 +0,0 @@ -import LoginCard from './LoginCard.vue' - -export default LoginCard diff --git a/src/components/TelegramBanner/TelegramBanner.vue b/src/components/TelegramBanner/TelegramBanner.vue index 246e773..a04c937 100644 --- a/src/components/TelegramBanner/TelegramBanner.vue +++ b/src/components/TelegramBanner/TelegramBanner.vue @@ -13,7 +13,7 @@ const handleURL = () => {