Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit da8645f

Browse files
committed
fixes
1 parent 06ad449 commit da8645f

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/components/guides/LanguageSwitch.tsx renamed to src/components/LanguageSwitch.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import useLang, { LanguageId } from '@/hooks/useLang'
44
import { cn } from '@/lib/utils'
55
import React from 'react'
6-
import { Button } from '../ui/button'
6+
import { Button } from './ui/button'
77
import JavaScriptLogoColour from '@/components/icons/JavaScriptLogoColour'
88
import TypeScriptLogoColour from '@/components/icons/TypeScriptLogoColour'
99
import PythonColorLogo from '@/components/icons/PythonLogoColour'

src/components/code/Pre.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ const Pre: React.FC<Props> = ({
7070
)}
7171
<CopyButton
7272
code={highlighted.code}
73-
className={cn(showFileNamePanel && 'top-12', isBash && 'top-11')}
73+
className={cn(showPanel && 'top-12', isBash && 'top-11')}
7474
/>
7575
<CodeHikePre
7676
code={highlighted}

src/components/guides/GuideFilters.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React, { Suspense } from 'react'
2-
import { LanguageSwitch } from './LanguageSwitch'
2+
import { LanguageSwitch } from '../LanguageSwitch'
33
import GuideFilterCheckbox from './GuideFilterCheckbox'
44

55
interface Props {

tailwind.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ const nitricColors = {
3939
}
4040

4141
export default {
42-
content: ['./src/**/*.{js,mjs,jsx,ts,tsx,md,mdx}'],
42+
content: ['./src/**/*.{js,mjs,jsx,ts,tsx,md,mdx}', './docs/**/*.{md,mdx}'],
4343
darkMode: ['class'],
4444
theme: {
4545
fontSize: {

0 commit comments

Comments
 (0)