mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 09:25:06 +03:00
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:
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(() => {
|
||||
|
||||
@@ -17,7 +17,7 @@ const twBreakpointMap = {
|
||||
sm: 639,
|
||||
md: 767,
|
||||
lg: 1023,
|
||||
xl: 1027,
|
||||
xl: 1279,
|
||||
'2xl': 1535,
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user