From 336efb8d3e33d1eef634bb3fcc256c1f6edddff0 Mon Sep 17 00:00:00 2001 From: KOWX712 Date: Sun, 24 Nov 2024 23:01:29 +0800 Subject: [PATCH] Minor ui fix --- module/webroot/index.html | 1 + module/webroot/index.js | 4 ++-- module/webroot/styles.css | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/module/webroot/index.html b/module/webroot/index.html index f878d7a..5c1e2ee 100644 --- a/module/webroot/index.html +++ b/module/webroot/index.html @@ -114,6 +114,7 @@ : t.me/kowchannel

+

GitHub: github.com/KOWX712/Tricky-Addon-Update-Target-List diff --git a/module/webroot/index.js b/module/webroot/index.js index e31ebcf..bf0974d 100644 --- a/module/webroot/index.js +++ b/module/webroot/index.js @@ -232,7 +232,7 @@ async function fetchAppList() { } catch (error) { console.error("Failed to fetch or render app list with names:", error); } - floatingBtn.style.transform = "translateY(-100px)"; + floatingBtn.style.transform = "translateY(-120px)"; } // Function to refresh app list @@ -685,7 +685,7 @@ window.addEventListener('scroll', () => { } else if (window.scrollY < lastScrollY) { title.style.transform = 'translateY(0)'; searchMenuContainer.style.transform = 'translateY(0)'; - floatingBtn.style.transform = 'translateY(-100px)'; + floatingBtn.style.transform = 'translateY(-120px)'; } if (languageMenu.classList.contains("show")) { languageMenu.classList.remove("show"); diff --git a/module/webroot/styles.css b/module/webroot/styles.css index e051faf..c5e317e 100644 --- a/module/webroot/styles.css +++ b/module/webroot/styles.css @@ -537,7 +537,7 @@ body { display: flex; justify-content: center; position: fixed; - bottom: -50px; + bottom: -70px; left: 50%; transform: translateX(-50%); z-index: 3;