File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 1616 color : # 000 ;
1717 }
1818
19- body {
19+ body ,
20+ # content {
2021 padding : 1in ;
2122 border : 0.5pt solid # 666 ;
2223 }
23- }
24+ }
Original file line number Diff line number Diff line change @@ -137,14 +137,16 @@ Compiler.prototype.keyframe = function(node){
137137 */
138138
139139Compiler . prototype . rule = function ( node ) {
140+ var indent = this . indent ( ) ;
141+
140142 if ( this . compress ) {
141143 return node . selectors . join ( ',' )
142144 + '{'
143145 + node . declarations . map ( this . declaration , this ) . join ( ';' )
144146 + '}' ;
145147 }
146148
147- return this . indent ( ) + node . selectors . join ( ',\n' )
149+ return node . selectors . map ( function ( s ) { return indent + s } ) . join ( ',\n' )
148150 + ' {\n'
149151 + this . indent ( 1 )
150152 + node . declarations . map ( this . declaration , this ) . join ( ';\n' )
You can’t perform that action at this time.
0 commit comments