fix: tailwind xl breakpoint mismatch (#39814)

* fix: tailwind xl breakpoint mismatch

* fix: use lg breakpoint for ContributingToC

---------

Co-authored-by: Ali Waseem <waseema393@gmail.com>
This commit is contained in:
Marouane SoudaandAli Waseem authored and GitHub committed 2025-11-04 10:24:45 -07:00
1 parent ac8d39780a
commit 84126faa0a
2 files changed
+2 -2

No files matched your search

@@ -14,7 +14,7 @@ interface TocItem extends HTMLAttributes<HTMLElement> {
}
export function ContributingToc({ className }: { className?: string }) {
const mobileToc = useBreakpoint('xl')
const mobileToc = useBreakpoint('lg')
const [tocItems, setTocItems] = useState<Array<TocItem>>([])
useEffect(() => {
+1 -1
View File
@@ -17,7 +17,7 @@ const twBreakpointMap = {
sm: 639,
md: 767,
lg: 1023,
xl: 1027,
xl: 1279,
'2xl': 1535,
}