The Trans Directory
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix(popovers): clear id to avoid anchor jumps within popover

+6
+2
quartz/components/scripts/popover.inline.ts
··· 82 82 const contents = await response.text() 83 83 const html = p.parseFromString(contents, "text/html") 84 84 normalizeRelativeURLs(html, targetUrl) 85 + // strip all IDs from elements to prevent duplicates 86 + html.querySelectorAll("[id]").forEach((el) => el.removeAttribute("id")) 85 87 const elts = [...html.getElementsByClassName("popover-hint")] 86 88 if (elts.length === 0) return 87 89
+4
quartz/styles/base.scss
··· 351 351 &[id]:hover > a { 352 352 opacity: 1; 353 353 } 354 + 355 + &:not([id]) > a[role="anchor"] { 356 + display: none; 357 + } 354 358 } 355 359 356 360 // typography improvements