Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Passing percentage units to the global abs() function is deprecated. #393

Closed
mman opened this issue Apr 22, 2024 · 0 comments
Closed

Comments

@mman
Copy link

mman commented Apr 22, 2024

I am not a CSS guru but I have been receiving this warning message during my builds for a long time. I'm fairly certain it is not coming from any of my code and I was able to find couple similar reports around the web against other frameworks.

Thought it will disappear with 5.0, but it's still present. What is the state of this issue please?

Module Warning (from ./node_modules/sass-loader/dist/cjs.js):
Deprecation Warning on line 56, column 13 of file:///<redacted>/node_modules/@coreui/coreui/scss/vendor/_rfs.scss:56:13:
Passing percentage units to the global abs() function is deprecated.
In the future, this will emit a CSS abs() function to be resolved by the browser.
To preserve current behavior: math.abs(100%)
To emit a CSS abs() now: abs(#{100%})
More info: https://sass-lang.com/d/abs-percent

56 |   $dividend: abs($dividend);


node_modules/@coreui/coreui/scss/vendor/_rfs.scss 57:14         divide()
node_modules/@coreui/coreui/scss/mixins/_grid.scss 59:12        row-cols()
node_modules/@coreui/coreui/scss/mixins/_grid.scss 85:13        @content
node_modules/@coreui/coreui/scss/mixins/_breakpoints.scss 68:5  media-breakpoint-up()
node_modules/@coreui/coreui/scss/mixins/_grid.scss 72:5         make-grid-columns()
node_modules/@coreui/coreui/scss/_grid.scss 40:3                @import
node_modules/@coreui/coreui/scss/coreui.scss 18:9               @import
src/client/scss/style.scss 8:9                                  root stylesheet
@mrholek mrholek closed this as completed Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants