From 59bb6dc4bd6702617174006e6f6e614332990eeb Mon Sep 17 00:00:00 2001 From: Safira Nugroho Date: Sat, 18 Mar 2023 23:46:21 +1100 Subject: [PATCH 1/4] add padding/margin right for top nav items + separator --- beta/src/components/Layout/Sidebar/SidebarRouteTree.tsx | 4 ++-- beta/src/components/Layout/TopNav/TopNav.tsx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/beta/src/components/Layout/Sidebar/SidebarRouteTree.tsx b/beta/src/components/Layout/Sidebar/SidebarRouteTree.tsx index b8db801c667..ff51a22c8e3 100644 --- a/beta/src/components/Layout/Sidebar/SidebarRouteTree.tsx +++ b/beta/src/components/Layout/Sidebar/SidebarRouteTree.tsx @@ -148,12 +148,12 @@ export function SidebarRouteTree({ {index !== 0 && (
  • )}

    {sectionHeader} diff --git a/beta/src/components/Layout/TopNav/TopNav.tsx b/beta/src/components/Layout/TopNav/TopNav.tsx index 10024dd11fc..ef7c8536644 100644 --- a/beta/src/components/Layout/TopNav/TopNav.tsx +++ b/beta/src/components/Layout/TopNav/TopNav.tsx @@ -302,7 +302,7 @@ export default function TopNav({ className="w-full lg:h-auto grow pr-0 lg:pr-5 pt-4 lg:py-6 md:pt-4 lg:pt-4 scrolling-touch scrolling-gpu"> {/* No fallback UI so need to be careful not to suspend directly inside. */} -
    +
    Learn @@ -322,7 +322,7 @@ export default function TopNav({
    Date: Sun, 19 Mar 2023 00:31:20 +1100 Subject: [PATCH 2/4] use overflow-y: overlay --- .../src/components/Layout/Sidebar/SidebarRouteTree.tsx | 4 ++-- beta/src/components/Layout/SidebarNav/SidebarNav.tsx | 2 +- beta/src/components/Layout/TopNav/TopNav.tsx | 6 +++--- beta/src/styles/index.css | 10 ++++++++++ 4 files changed, 16 insertions(+), 6 deletions(-) diff --git a/beta/src/components/Layout/Sidebar/SidebarRouteTree.tsx b/beta/src/components/Layout/Sidebar/SidebarRouteTree.tsx index ff51a22c8e3..4ec783cfda5 100644 --- a/beta/src/components/Layout/Sidebar/SidebarRouteTree.tsx +++ b/beta/src/components/Layout/Sidebar/SidebarRouteTree.tsx @@ -148,12 +148,12 @@ export function SidebarRouteTree({ {index !== 0 && (
  • )}

    {sectionHeader} diff --git a/beta/src/components/Layout/SidebarNav/SidebarNav.tsx b/beta/src/components/Layout/SidebarNav/SidebarNav.tsx index 7e242319c16..e38cc2a864e 100644 --- a/beta/src/components/Layout/SidebarNav/SidebarNav.tsx +++ b/beta/src/components/Layout/SidebarNav/SidebarNav.tsx @@ -31,7 +31,7 @@ export default function SidebarNav({ return (
    -
    +