From ac1c0a24a209a0c537423c996ae6060eef59442d Mon Sep 17 00:00:00 2001 From: MathieuDR Date: Sun, 11 May 2025 00:48:45 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20formatting=20and=20fixing=20erro?= =?UTF-8?q?r?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- quartz/components/OverflowList.tsx | 9 +++------ quartz/components/styles/explorer.scss | 2 +- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/quartz/components/OverflowList.tsx b/quartz/components/OverflowList.tsx index f68de2d55..2eaa5b068 100644 --- a/quartz/components/OverflowList.tsx +++ b/quartz/components/OverflowList.tsx @@ -1,11 +1,8 @@ import { JSX } from "preact" -const OverflowList = ({ - children, - ...props -}: JSX.HTMLAttributes & { id: string }) => { +const OverflowList = ({ children, ...props }: JSX.HTMLAttributes) => { return ( -
    +
      {children}
    @@ -34,7 +31,7 @@ document.addEventListener("nav", (e) => { } }) - const ul = document.querySelector("ul[data-list-number='${dataId}']") + const ul = document.querySelector("ul[data-list-id='${dataId}']") if (!ul) return const end = ul.querySelector(".overflow-end") diff --git a/quartz/components/styles/explorer.scss b/quartz/components/styles/explorer.scss index 7f88e3d28..1c33375c4 100644 --- a/quartz/components/styles/explorer.scss +++ b/quartz/components/styles/explorer.scss @@ -267,4 +267,4 @@ li:has(> .folder-outer:not(.open)) > .folder-container > svg { @media all and ($mobile) { overflow: hidden; } -} \ No newline at end of file +}