From 79499830a0e4424bfc26122f4556a67c092d8b87 Mon Sep 17 00:00:00 2001 From: "Aruelius.L" <25380989+Aruelius@users.noreply.github.com> Date: Thu, 29 Apr 2021 20:59:11 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=BD=E5=B1=89=E5=8A=A8=E7=94=BB=20(#70)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Fix: drawer open and closed animation * fixs #https://github.com/cloudreve/frontend/pull/70 --- src/component/Navbar/Navbar.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/component/Navbar/Navbar.js b/src/component/Navbar/Navbar.js index 9e9d906..94fbe22 100644 --- a/src/component/Navbar/Navbar.js +++ b/src/component/Navbar/Navbar.js @@ -186,6 +186,9 @@ const styles = (theme) => ({ drawerPaper: { width: drawerWidthMobile, }, + drawerPaperDesktop: { + width: drawerWidth, + }, upDrawer: { overflowX: "hidden", }, @@ -914,10 +917,7 @@ class NavbarCompoment extends Component {