From 2440a4591244c601efee14dc44bf2788834e4749 Mon Sep 17 00:00:00 2001 From: ykxkykx Date: Sun, 1 Jan 2023 14:45:00 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8Dmatery=E4=B8=BB?= =?UTF-8?q?=E9=A2=98=E4=B8=8B,notion=E7=9A=84description=E5=86=85=E5=AE=B9?= =?UTF-8?q?=E8=BF=87=E9=95=BF,=E5=AF=BC=E8=87=B4=E4=BE=A7=E8=BE=B9side?= =?UTF-8?q?=E9=9A=90=E8=97=8F=E6=97=B6=E6=BA=A2=E5=87=BA=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/SideBarDrawer.js | 8 ++++---- tailwind.config.js | 5 ++++- themes/matery/components/SideBar.js | 6 +++--- 3 files changed, 11 insertions(+), 8 deletions(-) diff --git a/components/SideBarDrawer.js b/components/SideBarDrawer.js index dac43d75..b03b9b98 100644 --- a/components/SideBarDrawer.js +++ b/components/SideBarDrawer.js @@ -29,22 +29,22 @@ const SideBarDrawer = ({ children, isOpen, onOpen, onClose, className }) => { const sideBarDrawerBackground = window.document.getElementById('sidebar-drawer-background') if (showStatus) { - sideBarDrawer.classList.replace('-ml-56', 'ml-0') + sideBarDrawer.classList.replace('-ml-60', 'ml-0') sideBarDrawerBackground.classList.replace('hidden', 'block') } else { - sideBarDrawer.classList.replace('ml-0', '-ml-56') + sideBarDrawer.classList.replace('ml-0', '-ml-60') sideBarDrawerBackground.classList.replace('block', 'hidden') } } return