diff --git a/quartz/components/pages/TagContent.tsx b/quartz/components/pages/TagContent.tsx index 5e81901..a1df6e1 100644 --- a/quartz/components/pages/TagContent.tsx +++ b/quartz/components/pages/TagContent.tsx @@ -115,8 +115,8 @@ export default ((opts?: Partial) => { } return ( -
-
{content}
+
+
{content}

{i18n(cfg.locale).pages.tagContent.itemsUnderTag({ count: pages.length })}

diff --git a/quartz/components/scripts/popover.inline.ts b/quartz/components/scripts/popover.inline.ts index 86cc885..9fd0aaf 100644 --- a/quartz/components/scripts/popover.inline.ts +++ b/quartz/components/scripts/popover.inline.ts @@ -117,11 +117,7 @@ async function mouseEnterHandler( function clearActivePopover() { const allPopoverElements = document.querySelectorAll(".popover") - if (allPopoverElements) { - allPopoverElements.forEach((popoverElement) => - popoverElement.classList.remove("active-popover"), - ) - } + allPopoverElements.forEach((popoverElement) => popoverElement.classList.remove("active-popover")) } document.addEventListener("nav", () => {