From 49d444fa9dfac5877cd980a18d2eb84281b02e50 Mon Sep 17 00:00:00 2001
From: crupest <crupest@outlook.com>
Date: Tue, 12 Sep 2023 18:34:27 +0800
Subject: Fix app bar toggle problem.

---
 FrontEnd/src/components/AppBar.tsx | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

(limited to 'FrontEnd/src/components/AppBar.tsx')

diff --git a/FrontEnd/src/components/AppBar.tsx b/FrontEnd/src/components/AppBar.tsx
index 9dfec3e1..d40c8105 100644
--- a/FrontEnd/src/components/AppBar.tsx
+++ b/FrontEnd/src/components/AppBar.tsx
@@ -57,7 +57,7 @@ export default function AppBar() {
       className={classnames(
         isMobile ? "mobile" : "desktop",
         "app-bar",
-        isCollapse && "collapse",
+        isCollapse || "expand",
       )}
     >
       <Link to="/" className="app-bar-brand" onClick={collapse}>
@@ -81,6 +81,8 @@ export default function AppBar() {
         )}
       </div>
 
+      <div className="app-bar-space" />
+
       <div className="app-bar-user-area">
         {user != null ? (
           <AppBarNavLink link="/" className="app-bar-avatar" onClick={collapse}>
-- 
cgit v1.2.3

