diff --git a/packages/core/src/breakpoints.ts b/packages/core/src/breakpoints.ts index a9a9d4bd..20914ea4 100644 --- a/packages/core/src/breakpoints.ts +++ b/packages/core/src/breakpoints.ts @@ -57,7 +57,7 @@ export function useThemeBreakpoint(theme: ITheme): string | null { return ( Object.keys(screns) .reverse() - .find((screen) => width !== null && width > screns[screen]) || null + .find((screen) => width !== null && width >= screns[screen]) || null ) }, [screns, width]) }