Skip to content

Commit

Permalink
trim sx class
Browse files Browse the repository at this point in the history
  • Loading branch information
siriwatknp committed May 6, 2024
1 parent 55571e0 commit c41289a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/pigment-css-react/src/sx.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export default function sx(transformedSx, { className, style }) {
}

return {
className: `${sxClass}${className ? `${className}` : ''}`,
className: `${sxClass.trim()}${className ? ` ${className}` : ''}`,
style: {
...varStyles,
...style,
Expand Down

0 comments on commit c41289a

Please sign in to comment.