From 7b9f1a9b4ba04b9b0fe504a63da704319b9545ba Mon Sep 17 00:00:00 2001 From: Pavel Stianko Date: Sat, 24 Feb 2024 20:11:55 +0100 Subject: [PATCH] format --- src/components/api-section.svelte | 3 ++- src/components/markdown/pre.svelte | 5 ++++- src/styles/markdown.postcss | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/components/api-section.svelte b/src/components/api-section.svelte index 8fda687cb..dcde64d66 100644 --- a/src/components/api-section.svelte +++ b/src/components/api-section.svelte @@ -17,7 +17,8 @@ class="inline-flex h-[29px] items-center justify-center rounded-button bg-accent px-3 font-mono text-[17px] font-medium leading-tight tracking-tight dark:text-neutral-900" >

- {$page.data.title.replaceAll(" ", "")}.{$page.data.title.replaceAll(" ", "")}.{schema.title}

diff --git a/src/components/markdown/pre.svelte b/src/components/markdown/pre.svelte index b82c05f87..a034dd0ff 100644 --- a/src/components/markdown/pre.svelte +++ b/src/components/markdown/pre.svelte @@ -9,7 +9,10 @@
 	
diff --git a/src/styles/markdown.postcss b/src/styles/markdown.postcss
index 6744ff60c..5c14aab57 100644
--- a/src/styles/markdown.postcss
+++ b/src/styles/markdown.postcss
@@ -74,7 +74,7 @@
 }
 
 [data-rehype-pretty-code-title] {
-	@apply mt-4 px-4 py-4 text-sm font-medium bg-muted rounded-t-xl text-foreground/70;
+	@apply mt-4 rounded-t-xl bg-muted px-4 py-4 text-sm font-medium text-foreground/70;
 }
 
 [data-rehype-pretty-code-title] + pre {