-
-
Notifications
You must be signed in to change notification settings - Fork 333
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
[Dependency] Fix compatibility issue with less >= 3.5 due to math changes #97
Conversation
…s for calc Replaces all tilde string escaping with explicit function calls. This was tested with [email protected] and [email protected] Reported in Semantic-Org/Semantic-UI#6512
@@ -1112,12 +1112,12 @@ | |||
.ui.relaxed[class*="vertically divided"].grid > .row:before { | |||
margin-left: (@relaxedGutterWidth / 2); | |||
margin-right: (@relaxedGutterWidth / 2); | |||
width: ~"calc(100% - "@relaxedGutterWidth~")"; | |||
width: e(%("calc(100%% - %d)", @relaxedGutterWidth)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
100%%
? This might not be correct.
EDIT: (happen 18 times in the code)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is:
If you need to print the percentage symbol, escape it by another percentage %%.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh yeah I see, sorry !
This als fixes |
This is save for LESS 3.8 aswell and also fixes |
Replaces all tilde string escaping with explicit function calls.
This was tested with [email protected] and [email protected]
Reported in Semantic-Org/Semantic-UI#6512