We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 77bf7cb commit b972fe8Copy full SHA for b972fe8
components/src/helpers/responsiveCss.ts
@@ -11,10 +11,14 @@ export const responsiveValuesCSS = (
11
Object.keys(value)[0],
12
Object.values(value)[0].toString(),
13
];
14
+
15
+ if(screenBreakpoint === "400"){
16
+ return (mediaQueries + `${cssProp}: ${cssPropBreakpoint}${cssPropUnits};`);
17
+ }
18
return (mediaQueries + `
- @media screen and (${mediaQueryType}: ${screenBreakpoint}px) {
- ${cssProp}: ${cssPropBreakpoint}${cssPropUnits};
- }
19
+ @media screen and (${mediaQueryType}: ${screenBreakpoint}px) {
20
+ ${cssProp}: ${cssPropBreakpoint}${cssPropUnits};
21
22
`);
23
}, "");
24
return breakpointProps as string;
0 commit comments