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

Depreciation warning on scss files #436

Open
gtwebsite opened this issue Jan 8, 2023 · 1 comment
Open

Depreciation warning on scss files #436

gtwebsite opened this issue Jan 8, 2023 · 1 comment

Comments

@gtwebsite
Copy link

I got this error:

Deprecation Warning: Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.

Recommendation: math.div($height, $width) or calc($height / $width)

More info and automated migrator: https://sass-lang.com/d/slash-div

    ╷
103 │   padding-top: 100% * ($height/$width);
    │                        ^^^^^^^^^^^^^^
    ╵
    node_modules/video-react/styles/scss/mixins.scss 103:24    apply-aspect-ratio()
    node_modules/video-react/styles/scss/layout.scss 54:5      @import
    node_modules/video-react/styles/scss/video-react.scss 7:9  root stylesheet
  • Node 15.x.x
  • node-sass 6.x.x
  • React 17.0.1
@bitboxer
Copy link

There is a fix in this PR for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants