railsadminteam/rails_admin

Keep getting bootstrap warning to use math.abs instead of abs

vinit-poojary opened this issue · 0 comments

[webpack-dev-server] WARNING in ./app/javascript/stylesheets/rails_admin.scss (./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./app/javascript/stylesheets/rails_admin.scss)
Module Warning (from ./node_modules/sass-loader/dist/cjs.js):
Deprecation Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.

Recommendation: math.div(20em, 16) or calc(20em / 16)

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

node_modules/@fortawesome/fontawesome-free/scss/_variables.scss 12:25  @import
node_modules/@fortawesome/fontawesome-free/scss/solid.scss 5:9         @import
node_modules/rails_admin/src/rails_admin/styles/base.scss 15:9         @import
app/javascript/stylesheets/rails_admin.scss 1:9                        root stylesheet