Skip to content

Commit

Permalink
fix: issue less#4313 cleanup merge issues
Browse files Browse the repository at this point in the history
* Cleanup merge issues for fix for issue less#4313.
  • Loading branch information
puckowski committed Feb 1, 2025
1 parent 8a71e56 commit 75e212c
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 67 deletions.
2 changes: 0 additions & 2 deletions packages/less/src/less/functions/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import string from './string';
import svg from './svg';
import types from './types';
import style from './style';
import scrollState from './scroll-state';

export default environment => {
const functions = { functionRegistry, functionCaller };
Expand All @@ -31,7 +30,6 @@ export default environment => {
functionRegistry.addMultiple(svg(environment));
functionRegistry.addMultiple(types);
functionRegistry.addMultiple(style);
functionRegistry.addMultiple(scrollState);

return functions;
};
23 changes: 0 additions & 23 deletions packages/less/src/less/functions/scroll-state.js

This file was deleted.

19 changes: 0 additions & 19 deletions packages/test-data/css/_main/container.css
Original file line number Diff line number Diff line change
Expand Up @@ -241,22 +241,3 @@
color: purple;
}
}
#sticky {
position: sticky;
container-type: scroll-state;
}
@container scroll-state (stuck: top) {
#sticky-child {
font-size: 75%;
}
}
@container scroll-state (snapped: x) {
#sticky-child {
font-size: 75%;
}
}
@container scroll-state (scrollable: top) {
#sticky-child {
font-size: 75%;
}
}
23 changes: 0 additions & 23 deletions packages/test-data/less/_main/container.less
Original file line number Diff line number Diff line change
Expand Up @@ -289,26 +289,3 @@
color: purple;
}
}

#sticky {
position: sticky;
container-type: scroll-state;
}

@container scroll-state(stuck: top) {
#sticky-child {
font-size: 75%;
}
}

@container scroll-state(snapped: x) {
#sticky-child {
font-size: 75%;
}
}

@container scroll-state(scrollable: top) {
#sticky-child {
font-size: 75%;
}
}

0 comments on commit 75e212c

Please sign in to comment.