File tree 2 files changed +2
-35
lines changed
2 files changed +2
-35
lines changed Original file line number Diff line number Diff line change @@ -122,39 +122,6 @@ export default () => `
122
122
}
123
123
` ) }
124
124
125
- /* Min-scroll-y */
126
- ${ element ( '.min-scroll-y' , { minScrollY : 50 } , `
127
- :self {
128
- background: greenyellow;
129
- border-color: limegreen;
130
- }
131
- ` ) }
132
-
133
- /* Max-scroll-y */
134
- ${ element ( '.max-scroll-y' , { maxScrollY : 50 } , `
135
- :self {
136
- background: greenyellow;
137
- border-color: limegreen;
138
- }
139
- ` ) }
140
-
141
- /* Min-scroll-x */
142
- ${ element ( '.min-scroll-x' , { minScrollX : 50 } , `
143
- :self {
144
- background: greenyellow;
145
- border-color: limegreen;
146
- }
147
- ` ) }
148
-
149
- /* Max-scroll-x */
150
- ${ element ( '.max-scroll-x' , { maxScrollX : 50 } , `
151
- :self {
152
- background: greenyellow;
153
- border-color: limegreen;
154
- }
155
- ` ) }
156
-
157
-
158
125
/* Square Orientation */
159
126
${ element ( '.square' , { orientation : 'square' } , `
160
127
:self {
@@ -176,7 +143,6 @@ export default () => `
176
143
}
177
144
` ) }
178
145
179
-
180
146
/* Min-aspect ratio */
181
147
${ element ( '.minaspectratio' , { minAspectRatio : 16 / 9 } , `
182
148
:self {
Original file line number Diff line number Diff line change @@ -206,5 +206,6 @@ <h3>max-aspect-ratio</h3>
206
206
import scrollStyles from './element-query-scroll.js'
207
207
208
208
jsincss ( stylesheet )
209
- jsincss ( scrollStyles , [ '[class*="-scroll-"]' ] , [ 'scroll' ] )
209
+ jsincss ( scrollStyles , window , [ 'load' ] )
210
+ jsincss ( scrollStyles , '[class*="-scroll-"]' , [ 'scroll' ] )
210
211
</ script >
You can’t perform that action at this time.
0 commit comments