File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 15
15
// Private
16
16
// ----------------------------------------
17
17
18
- const minMaxWidth = / ( ! ? \( \s * m i n ( - d e v i c e - ) ? - w i d t h ) . + \( \s * m a x ( - d e v i c e ) ? - w i d t h / i
18
+ const minMaxWidth = / ( ! ? \( \s * m i n ( - d e v i c e - ) ? - w i d t h ) ( . | \n ) + \( \s * m a x ( - d e v i c e ) ? - w i d t h / i
19
19
const minWidth = / \( \s * m i n ( - d e v i c e ) ? - w i d t h / i
20
- const maxMinWidth = / ( ! ? \( \s * m a x ( - d e v i c e ) ? - w i d t h ) . + \( \s * m i n ( - d e v i c e ) ? - w i d t h / i
20
+ const maxMinWidth = / ( ! ? \( \s * m a x ( - d e v i c e ) ? - w i d t h ) ( . | \n ) + \( \s * m i n ( - d e v i c e ) ? - w i d t h / i
21
21
const maxWidth = / \( \s * m a x ( - d e v i c e ) ? - w i d t h / i
22
22
23
23
const isMinWidth = _testQuery ( minMaxWidth , maxMinWidth , minWidth )
24
24
const isMaxWidth = _testQuery ( maxMinWidth , minMaxWidth , maxWidth )
25
25
26
- const minMaxHeight = / ( ! ? \( \s * m i n ( - d e v i c e ) ? - h e i g h t ) . + \( \s * m a x ( - d e v i c e ) ? - h e i g h t / i
26
+ const minMaxHeight = / ( ! ? \( \s * m i n ( - d e v i c e ) ? - h e i g h t ) ( . | \n ) + \( \s * m a x ( - d e v i c e ) ? - h e i g h t / i
27
27
const minHeight = / \( \s * m i n ( - d e v i c e ) ? - h e i g h t / i
28
- const maxMinHeight = / ( ! ? \( \s * m a x ( - d e v i c e ) ? - h e i g h t ) . + \( \s * m i n ( - d e v i c e ) ? - h e i g h t / i
28
+ const maxMinHeight = / ( ! ? \( \s * m a x ( - d e v i c e ) ? - h e i g h t ) ( . | \n ) + \( \s * m i n ( - d e v i c e ) ? - h e i g h t / i
29
29
const maxHeight = / \( \s * m a x ( - d e v i c e ) ? - h e i g h t / i
30
30
31
31
const isMinHeight = _testQuery ( minMaxHeight , maxMinHeight , minHeight )
You can’t perform that action at this time.
0 commit comments