From 317f7fe9da894dc0eb37085e9ffb55fbe07613a4 Mon Sep 17 00:00:00 2001 From: Hamidreza Ghavami <70919649+hamid-gh98@users.noreply.github.com> Date: Sun, 14 May 2023 06:08:34 +0430 Subject: [PATCH 1/3] FIX sideBar style --- web/assets/css/custom.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/web/assets/css/custom.css b/web/assets/css/custom.css index 4067ea9a90..49bfec645d 100644 --- a/web/assets/css/custom.css +++ b/web/assets/css/custom.css @@ -28,6 +28,12 @@ body { display: none; } +@media (max-width: 768px) { + .ant-layout-sider { + display: none; + } +} + .ant-card { border-radius: 1.5rem; } From 61288db11eda6e3707541648795e6e856bc79cd0 Mon Sep 17 00:00:00 2001 From: Hamidreza Ghavami <70919649+hamid-gh98@users.noreply.github.com> Date: Sun, 14 May 2023 06:08:49 +0430 Subject: [PATCH 2/3] FIX siderDrawer button function --- web/html/xui/inbounds.html | 1 + web/html/xui/index.html | 1 + web/html/xui/settings.html | 1 + 3 files changed, 3 insertions(+) diff --git a/web/html/xui/inbounds.html b/web/html/xui/inbounds.html index b073978a01..b689a586eb 100644 --- a/web/html/xui/inbounds.html +++ b/web/html/xui/inbounds.html @@ -317,6 +317,7 @@ delimiters: ['[[', ']]'], el: '#app', data: { + siderDrawer, themeSwitcher, spinning: false, inbounds: [], diff --git a/web/html/xui/index.html b/web/html/xui/index.html index fb12bb1f57..667cd4cbeb 100644 --- a/web/html/xui/index.html +++ b/web/html/xui/index.html @@ -388,6 +388,7 @@