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

Deprecation Warning #14

Open
bearkfear opened this issue Aug 3, 2022 · 1 comment
Open

Deprecation Warning #14

bearkfear opened this issue Aug 3, 2022 · 1 comment

Comments

@bearkfear
Copy link

Recommendation: math.div($badge-height, 2) or calc($badge-height / 2)

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

   ╷
71 │     line-height: calc(#{$badge-height / 2} + 1px)
   │                         ^^^^^^^^^^^^^^^^^
   ╵
    ~@creativebulma/bulma-badge/src/sass/index.sass 71:25  @import
    src/content/app.scss 19:9                              root stylesheet

Done in 2.23s.

@medienhochdrei
Copy link

just change
"line-height: calc(#{$badge-height / 2} + 1px)"
into
"line-height: calc(#{$badge-height} / 2 + 1px)"

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