Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions src/components/Glossary.astro
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
import { marked } from "marked";
import { getGlossaryEntries } from "~/util/glossary";
import { LinkButton } from "@astrojs/starlight/components";

interface Props {
product?: string;
Expand Down Expand Up @@ -44,9 +43,14 @@ const INITIAL_VISIBLE_ROWS = 20;

{
terms.length > INITIAL_VISIBLE_ROWS && (
<LinkButton id="glossary-button" href="" class="justify-center">
View more terms
</LinkButton>
<div class="flex items-center justify-center">
<button
id="glossary-button"
class="h-12 cursor-pointer rounded bg-cl1-brand-orange px-6 font-medium text-cl1-black"
>
View more terms
</button>
</div>
)
}

Expand Down
2 changes: 1 addition & 1 deletion worker/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export default class extends WorkerEntrypoint<Env> {
rehypeParse,
rehypeBaseUrl,
rehypeFilterElements,
remarkGfm,
[remarkGfm, { tablePipeAlign: false }],
rehypeRemark,
remarkStringify,
]);
Expand Down
Loading