diff options
author | 2021-07-15 19:51:37 +0000 | |
---|---|---|
committer | 2021-07-15 19:51:37 +0000 | |
commit | 5d1e2bab25f2dc5779cb945f09678daba99d3f0e (patch) | |
tree | 6a62895d8bcb36d751f128d440886a9a0c68757a /docs/src/components/EditOnGithub.tsx | |
parent | b0a46cf6f51d85d49b121d356c082ff2eed91876 (diff) | |
download | astro-5d1e2bab25f2dc5779cb945f09678daba99d3f0e.tar.gz astro-5d1e2bab25f2dc5779cb945f09678daba99d3f0e.tar.zst astro-5d1e2bab25f2dc5779cb945f09678daba99d3f0e.zip |
[ci] yarn format
Diffstat (limited to 'docs/src/components/EditOnGithub.tsx')
-rw-r--r-- | docs/src/components/EditOnGithub.tsx | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/docs/src/components/EditOnGithub.tsx b/docs/src/components/EditOnGithub.tsx index 8209213dc..e6e757f5f 100644 --- a/docs/src/components/EditOnGithub.tsx +++ b/docs/src/components/EditOnGithub.tsx @@ -4,9 +4,23 @@ import { h } from 'preact'; const EditOnGithub: FunctionalComponent<{ href: string }> = ({ href }) => { return ( <a class="edit-on-github" href={href} target="_blank"> - <svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="pen" class="svg-inline--fa fa-pen fa-w-16" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" + <svg + aria-hidden="true" + focusable="false" + data-prefix="fas" + data-icon="pen" + class="svg-inline--fa fa-pen fa-w-16" + role="img" + xmlns="http://www.w3.org/2000/svg" + viewBox="0 0 512 512" height="1em" - width="1em"><path fill="currentColor" d="M290.74 93.24l128.02 128.02-277.99 277.99-114.14 12.6C11.35 513.54-1.56 500.62.14 485.34l12.7-114.22 277.9-277.88zm207.2-19.06l-60.11-60.11c-18.75-18.75-49.16-18.75-67.91 0l-56.55 56.55 128.02 128.02 56.55-56.55c18.75-18.76 18.75-49.16 0-67.91z"></path></svg> + width="1em" + > + <path + fill="currentColor" + d="M290.74 93.24l128.02 128.02-277.99 277.99-114.14 12.6C11.35 513.54-1.56 500.62.14 485.34l12.7-114.22 277.9-277.88zm207.2-19.06l-60.11-60.11c-18.75-18.75-49.16-18.75-67.91 0l-56.55 56.55 128.02 128.02 56.55-56.55c18.75-18.76 18.75-49.16 0-67.91z" + ></path> + </svg> <span>Edit this page</span> </a> ); |