From e6671c91fcd9862cb56dfeb8d40997c86dca68f0 Mon Sep 17 00:00:00 2001 From: Lixian Zhou Date: Tue, 10 Mar 2026 15:00:10 -0400 Subject: [PATCH] fix --- client/src/App.css | 7 +++++++ .../components/dashboard/DashboardCustomersList.js | 11 +++++++++-- client/src/components/login/Login.js | 6 ------ 3 files changed, 16 insertions(+), 8 deletions(-) diff --git a/client/src/App.css b/client/src/App.css index fc26769..227e7a2 100644 --- a/client/src/App.css +++ b/client/src/App.css @@ -251,6 +251,13 @@ input { overflow: hidden; } +.app-main-content-list-container.list-page.all-customers-list-page { + min-height: calc(100vh - 140px); + padding-bottom: 24px; + overflow-x: hidden; + overflow-y: visible; +} + .app-main-content-list-func-container { position: relative; } diff --git a/client/src/components/dashboard/DashboardCustomersList.js b/client/src/components/dashboard/DashboardCustomersList.js index 7940647..2dba328 100644 --- a/client/src/components/dashboard/DashboardCustomersList.js +++ b/client/src/components/dashboard/DashboardCustomersList.js @@ -299,7 +299,14 @@ const DashboardCustomersList = ({ additionalButtons, showBreadcrumb = false, tit } const table =
-
+
@@ -457,7 +464,7 @@ const DashboardCustomersList = ({ additionalButtons, showBreadcrumb = false, tit )} -
+
showArchive(k)}> diff --git a/client/src/components/login/Login.js b/client/src/components/login/Login.js index df39efc..00711b3 100644 --- a/client/src/components/login/Login.js +++ b/client/src/components/login/Login.js @@ -10,9 +10,6 @@ const Login = ({ setMenu}) => { const [username, setUsername] = useState(''); const [password, setPassword] = useState(''); const navigate = useNavigate(); - const goToCreateDispatcher = () => { - navigate(`/employees?type=dispatcher`) - }; useEffect(() => { if (localStorage.getItem('user') && localStorage.getItem('token')) { if (AuthService.canAccessLegacySystem()) { @@ -69,9 +66,6 @@ const Login = ({ setMenu}) => {
-
- -