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

bug error px and % are incompatible units (grid) #1154

Open
onno-timmerman opened this issue Nov 18, 2022 · 0 comments
Open

bug error px and % are incompatible units (grid) #1154

onno-timmerman opened this issue Nov 18, 2022 · 0 comments

Comments

@onno-timmerman
Copy link

Not sure where to go with this problem, its first time I had this kind of problem with django-sass.
in regular css this does work

I have the following line in my scss

.grid-columns {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
}

I get the following error:

Exception Type: | CompileError
Internal Error: Incompatible units: '%' and 'px'.
Variable | Value
_get_file_arg | <function compile.<locals>._get_file_arg at 0x1073f1ab0>
custom_functions | [<sass.SassFunction object at 0x1073a0cc0>]
@onno-timmerman onno-timmerman changed the title bug error bug error px and % are incompatible units (grid) Nov 18, 2022
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