From fe5d4a9f0383ecd99581f7c795a3cf0c76a3bb30 Mon Sep 17 00:00:00 2001 From: Zen <99558412+zenpk@users.noreply.github.com> Date: Thu, 15 Jun 2023 04:32:24 +0800 Subject: [PATCH] Fix the Sidenav hidden issue (#1386) * Fix the sidebar links hidden issue * another solution, detect overflow with client-side javascript * Optimize the code * Revert to use solution 1 This reverts commit 96a6c13e6c30bce5f9197912b56a2f76871276e1. * Adjust padding slightly --------- Co-authored-by: Kalle <38327916+Sendouc@users.noreply.github.com> --- app/components/layout/SideNav.tsx | 2 +- app/components/layout/index.tsx | 3 +-- app/styles/layout.css | 12 +++++++++--- 3 files changed, 11 insertions(+), 6 deletions(-) diff --git a/app/components/layout/SideNav.tsx b/app/components/layout/SideNav.tsx index 02d48f1ca..a74a177d6 100644 --- a/app/components/layout/SideNav.tsx +++ b/app/components/layout/SideNav.tsx @@ -8,7 +8,7 @@ export function SideNav() { const { t } = useTranslation(["common"]); return ( -