railsadminteam / rails_admin

RailsAdmin is a Rails engine that provides an easy-to-use interface for managing your data
MIT License
7.89k stars 2.25k forks source link

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

Open vinit-poojary opened 1 year ago

vinit-poojary commented 1 year ago
[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