Skip to content

Commit 75e212c

Browse files
committed
fix: issue less#4313 cleanup merge issues
* Cleanup merge issues for fix for issue less#4313.
1 parent 8a71e56 commit 75e212c

File tree

4 files changed

+0
-67
lines changed

4 files changed

+0
-67
lines changed

packages/less/src/less/functions/index.js

-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ import string from './string';
1313
import svg from './svg';
1414
import types from './types';
1515
import style from './style';
16-
import scrollState from './scroll-state';
1716

1817
export default environment => {
1918
const functions = { functionRegistry, functionCaller };
@@ -31,7 +30,6 @@ export default environment => {
3130
functionRegistry.addMultiple(svg(environment));
3231
functionRegistry.addMultiple(types);
3332
functionRegistry.addMultiple(style);
34-
functionRegistry.addMultiple(scrollState);
3533

3634
return functions;
3735
};

packages/less/src/less/functions/scroll-state.js

-23
This file was deleted.

packages/test-data/css/_main/container.css

-19
Original file line numberDiff line numberDiff line change
@@ -241,22 +241,3 @@
241241
color: purple;
242242
}
243243
}
244-
#sticky {
245-
position: sticky;
246-
container-type: scroll-state;
247-
}
248-
@container scroll-state (stuck: top) {
249-
#sticky-child {
250-
font-size: 75%;
251-
}
252-
}
253-
@container scroll-state (snapped: x) {
254-
#sticky-child {
255-
font-size: 75%;
256-
}
257-
}
258-
@container scroll-state (scrollable: top) {
259-
#sticky-child {
260-
font-size: 75%;
261-
}
262-
}

packages/test-data/less/_main/container.less

-23
Original file line numberDiff line numberDiff line change
@@ -289,26 +289,3 @@
289289
color: purple;
290290
}
291291
}
292-
293-
#sticky {
294-
position: sticky;
295-
container-type: scroll-state;
296-
}
297-
298-
@container scroll-state(stuck: top) {
299-
#sticky-child {
300-
font-size: 75%;
301-
}
302-
}
303-
304-
@container scroll-state(snapped: x) {
305-
#sticky-child {
306-
font-size: 75%;
307-
}
308-
}
309-
310-
@container scroll-state(scrollable: top) {
311-
#sticky-child {
312-
font-size: 75%;
313-
}
314-
}

0 commit comments

Comments
 (0)