Skip to content

Commit 6785926

Browse files
authored
[Docs Site] Turn off table alignment in index.md, fix glossary button (#21546)
* [Docs Site] Turn off table alignment in index.md, fix glossary button * unused import
1 parent 9b52e26 commit 6785926

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

src/components/Glossary.astro

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
---
22
import { marked } from "marked";
33
import { getGlossaryEntries } from "~/util/glossary";
4-
import { LinkButton } from "@astrojs/starlight/components";
54
65
interface Props {
76
product?: string;
@@ -44,9 +43,14 @@ const INITIAL_VISIBLE_ROWS = 20;
4443

4544
{
4645
terms.length > INITIAL_VISIBLE_ROWS && (
47-
<LinkButton id="glossary-button" href="" class="justify-center">
48-
View more terms
49-
</LinkButton>
46+
<div class="flex items-center justify-center">
47+
<button
48+
id="glossary-button"
49+
class="h-12 cursor-pointer rounded bg-cl1-brand-orange px-6 font-medium text-cl1-black"
50+
>
51+
View more terms
52+
</button>
53+
</div>
5054
)
5155
}
5256

worker/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export default class extends WorkerEntrypoint<Env> {
4646
rehypeParse,
4747
rehypeBaseUrl,
4848
rehypeFilterElements,
49-
remarkGfm,
49+
[remarkGfm, { tablePipeAlign: false }],
5050
rehypeRemark,
5151
remarkStringify,
5252
]);

0 commit comments

Comments
 (0)