-
-
Notifications
You must be signed in to change notification settings - Fork 117
fix(styling) compilation bug due to missing calc in variables.scss #529
fix(styling) compilation bug due to missing calc in variables.scss #529
Conversation
Codecov Report
@@ Coverage Diff @@
## master #529 +/- ##
==========================================
Coverage 100.00% 100.00%
==========================================
Files 148 148
Lines 9634 9634
Branches 3227 3366 +139
==========================================
Hits 9634 9634 Continue to review full report at Codecov.
|
|
I added all I could find, with a total of 12 it matches yours. Initially I only fixed those two, because that were the only ones that prevented compilation for me and I didn't look beyond. |
|
Thanks for that, I'll release a new version in a week or 2 so hopefully you can wait a bit more |
|
Yeah, I've rolled back the upgrade for now because the actual problem I was looking into is somewhere with Slickgrid itself and the update did not fix it yet. So I need to look into it some more anyways. |
|
what kind of problem and/or upgrade have you done? do you mean some issues in your code or the lib? |
|
I believe it is in the slickgrid lib. I can't tell tell the exact problem yet, but when having frozen columns, searchable columns and autoHeight enabled, slickgrid calculates the height of the viewport too small by the height of the header row (the one with the search boxes). Currently I do not have a minimal example because we have an additional wrapper layer on top of the your module (for embedding with an existing data source). |
|
I personally never use the |
|
@fheck Basically this I'd be happy to confirm that this also works on your side. It sadly took me about 2 hours to find the issue, kinda hard when there's no console errors displayed. I guess I need to add more Cypress tests to cover that, for reference here's my commit in my other lib. EDIT Fixed in #536 |
|
Can confirm, that works for me as well. Sorry I missed that. |
|
no worries and thanks for the confirmation, I've pushed a new version Thanks for the contribution and please upvote ⭐ if you like the lib (if that is not already done) |
I'm submitting a Bug report
Your Environment
Describe the Bug
When using a $font-size-base value set to rem, an error occurred during compilation stating "Incompatible units px and rem".
Steps to Reproduce
In styles.scss, before importing the variables.scss, set $font-size-base to 1rem.
Expected Behavior
It compiles.
Current Behavior
It does not compile, with the error mentioned above.
Possible Solution
Add missing calc in lines 276 and 315 as seen in this PR.
Code Sample
Not needed.