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

Commit 1ff1f76

Browse files
committed
fix(style-compiler): fix line break
1 parent 9f5ac1a commit 1ff1f76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/_internal/utils/style-compiler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export function styleCompiler<T extends CustomCSSProperties>(object: T, base36Ha
4343
bigIndent = true;
4444
const mediaRule = stringConverter(className, value, indentLevel + 1);
4545
const mainRule = mediaRule.mainRules ? `{\n ${className} {\n${mediaRule.mainRules} }` : '{';
46-
mediaQueries += `\n${property} ${mainRule}${mediaRule.pseudoRules}${mediaRule.media}}\n`;
46+
mediaQueries += `\n${property} ${mainRule}${mediaRule.pseudoRules}${mediaRule.media}\n}\n`;
4747
bigIndent = false;
4848
} else if (typeof value === 'string' || typeof value === 'number') {
4949
const CSSProp = camelToKebabCase(property);

0 commit comments

Comments
 (0)