File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
packages/tailwindcss-language-service/src Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -952,7 +952,7 @@ function stringifyDecls(
952952 const px = showPixelEquivalents
953953 ? remToPx ( value , rootFontSize )
954954 : undefined
955- return `${ prop } : ${ value } ${ px ? ` /* ${ px } */` : '' } ;`
955+ return `${ prop } : ${ value } ${ px ? `/* ${ px } */` : '' } ;`
956956 } )
957957 . join ( ' ' )
958958 )
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ export function stringifyCss(
6161 const propStr = ensureArray ( obj [ curr ] )
6262 . map ( ( val ) => {
6363 const px = showPixelEquivalents ? remToPx ( val , rootFontSize ) : undefined
64- return `${ indentStr + indent } ${ curr } : ${ val } ${ px ? ` /* ${ px } */` : '' } ;`
64+ return `${ indentStr + indent } ${ curr } : ${ val } ${ px ? `/* ${ px } */` : '' } ;`
6565 } )
6666 . join ( '\n' )
6767 return `${ acc } ${ i === 0 ? '' : '\n' } ${ propStr } `
You can’t perform that action at this time.
0 commit comments