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

Syntactically wrong css generation due to very old sass version #520

Open
ibrahimBeladi opened this issue Jul 7, 2023 · 0 comments
Open

Comments

@ibrahimBeladi
Copy link

Module version
Latest

Describe the bug
There are some edge cases due to very old sass version

To Reproduce

Steps to reproduce the behavior:

  1. Generate nuxt vuetify project
  2. Add scss file that includes:
.f-grow-36 {
  flex: 0 0 36 * 2.083333333333% !important;
  max-width: 36 * 2.083333333333% !important;
}
  1. Add that file in the nuxt configuration file, like:
css: ["~/assets/style/main.scss"],
  1. Run npm run generate
  2. Search for 74.% without excluding the dist folder
  3. Notice the result instead of having 75% (as 36 * 2.083333333333% = 75%)

Expected behavior
Getting 75% (or at least 74% (without a dot), as it too broken)

Additional context
Related issue: sass/dart-sass#2002

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

1 participant