File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ const variantGenerators = {
99 rule . selector = `.hover${ config . options . separator } ${ rule . selector . slice ( 1 ) } :hover`
1010 } )
1111
12- return cloned . nodes
12+ container . before ( cloned . nodes )
1313 } ,
1414 focus : ( container , config ) => {
1515 const cloned = container . clone ( )
@@ -18,7 +18,7 @@ const variantGenerators = {
1818 rule . selector = `.focus${ config . options . separator } ${ rule . selector . slice ( 1 ) } :focus`
1919 } )
2020
21- return cloned . nodes
21+ container . before ( cloned . nodes )
2222 } ,
2323}
2424
@@ -39,7 +39,7 @@ export default function(config) {
3939
4040 _ . forEach ( [ 'focus' , 'hover' ] , variant => {
4141 if ( variants . includes ( variant ) ) {
42- atRule . before ( variantGenerators [ variant ] ( atRule , unwrappedConfig ) )
42+ variantGenerators [ variant ] ( atRule , unwrappedConfig )
4343 }
4444 } )
4545
You can’t perform that action at this time.
0 commit comments