Skip to content

Commit 629fe15

Browse files
committed
Format
1 parent 979fb36 commit 629fe15

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

prettier.config.mjs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,10 @@ export default {
2626
},
2727
},
2828
],
29-
plugins: ["prettier-plugin-pkg", "prettier-plugin-tailwindcss"],
30-
// We need this to ensure classes format the same across CI and editors.
29+
// We need the absolute paths here to ensure classes format the same across CI and editors.
30+
plugins: [
31+
import.meta.resolve("prettier-plugin-pkg").replace("file://", ""),
32+
import.meta.resolve("prettier-plugin-tailwindcss").replace("file://", ""),
33+
],
3134
tailwindConfig: resolve(__dirname, "./tailwind.config.ts"),
3235
}

src/components/tools-and-libraries.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ export function CodePage({ allTags, data }: CodePageProps) {
327327
<Collapse horizontal isOpen={showSidebar}>
328328
<section className="nextra-scrollbar overflow-y-auto p-4 pt-0 md:h-[calc(100vh-var(--nextra-navbar-height)-var(--nextra-menu-height))]">
329329
<div className="sticky top-0 z-10 bg-[rgb(var(--nextra-bg))] shadow-[0_8px_16px_8px_rgb(var(--nextra-bg))]">
330-
<label className="focus-within:gql-focus-outline flex items-center gap-1 border border-neu-300 bg-neu-0 p-2">
330+
<label className="flex items-center gap-1 border border-neu-300 bg-neu-0 p-2 focus-within:gql-focus-outline">
331331
<SearchIcon className="size-5 text-neu-800" />
332332
<input
333333
value={search}

0 commit comments

Comments
 (0)