File tree Expand file tree Collapse file tree 3 files changed +3
-1
lines changed Expand file tree Collapse file tree 3 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -160,7 +160,7 @@ Import.prototype = Object.assign(new Node(), {
160
160
}
161
161
if ( this . features ) {
162
162
let featureValue = this . features . value ;
163
- if ( Array . isArray ( featureValue ) && featureValue . length == = 1 ) {
163
+ if ( Array . isArray ( featureValue ) && featureValue . length > = 1 ) {
164
164
const expr = featureValue [ 0 ] ;
165
165
if ( expr . type === 'Expression' && Array . isArray ( expr . value ) && expr . value . length >= 2 ) {
166
166
featureValue = expr . value ;
Original file line number Diff line number Diff line change 1
1
@import url ("/import/layer-import-2.css" ) layer(foo);
2
2
@import url ("/import/layer-import-3.css" ) layer(responsive) suppor ts(dis play: flex) screen and (max-width : 768px );
3
3
@import url ("/import/layer-import-4.css" ) layer(print) print;
4
+ @import url ("/import/layer-import-4.css" ) layer(print) print, (max-width : 600px );
4
5
@import url ("/import/layer-import-5.css" ) layer(features) suppor ts(dis play: grid);
5
6
@layer {
6
7
.main ::before {
Original file line number Diff line number Diff line change 13
13
@import url(" /import/layer-import-2.css" ) layer(foo);
14
14
@import url(" /import/layer-import-3.css" ) layer(responsive) supports(display: flex) screen and (max-width: 768px);
15
15
@import url(" /import/layer-import-4.css" ) layer(print) print;
16
+ @import url(" /import/layer-import-4.css" ) layer(print) print, (max-width: 600px);
16
17
@import url(" /import/layer-import-5.css" ) layer(features) supports(display: grid);
17
18
18
19
@layer-name : primevue;
You can’t perform that action at this time.
0 commit comments