diff --git a/docs/layouts/DocsLayout.astro b/docs/layouts/DocsLayout.astro index 454085e04..870de5eec 100644 --- a/docs/layouts/DocsLayout.astro +++ b/docs/layouts/DocsLayout.astro @@ -307,7 +307,7 @@ const docsLinks = docs.links as DocsLink[]; elements.forEach(function (element) { const clipboard = new ClipboardJS(element, { - text: function (trigger) { + text: function () { return element.getAttribute('data-clipboard-text'); } }); diff --git a/shared/components/cards/Card.astro b/shared/components/cards/Card.astro index 6f504bcc3..1b7648e71 100644 --- a/shared/components/cards/Card.astro +++ b/shared/components/cards/Card.astro @@ -31,7 +31,7 @@ interface Props { footer?: boolean; footerButton?: boolean; footerButtons?: boolean; - /** a ">" prefix pushes the element (and every following one) to the right — `right` is never reset */ + /** a right-angle-bracket prefix pushes the element (and every following one) to the right — `right` is never reset */ footerElements?: string[]; progress?: boolean; } diff --git a/shared/components/layout/HeaderActionsPrint.astro b/shared/components/layout/HeaderActionsPrint.astro index 154d14d93..178eed0e9 100644 --- a/shared/components/layout/HeaderActionsPrint.astro +++ b/shared/components/layout/HeaderActionsPrint.astro @@ -3,7 +3,7 @@ import Icon from '@ui/Icon.astro' --- - diff --git a/shared/components/marketing/hero/Side.astro b/shared/components/marketing/hero/Side.astro index ca6f09a18..eefe0e828 100644 --- a/shared/components/marketing/hero/Side.astro +++ b/shared/components/marketing/hero/Side.astro @@ -58,7 +58,7 @@ const typedId = 'typed'