LESS code clean up#18957
Conversation
code clean up
Update _module.less
Karlasa clean up multiwishlist
|
Hi @Karlasa. Thank you for your contribution
For more details, please, review the Magento Contributor Assistant documentation |
DanielRuf
left a comment
There was a problem hiding this comment.
Removing .lib-css is not a good idea.
|
https://magento.stackexchange.com/questions/94185/what-is-the-purpose-of-the-less-lib-css-mixin Which removes duplicate and overwritten rules. |
|
Also |
|
@DanielRuf Fixed some lib-css but for @indent/@font-weight it does not make sense having it as almost everywhere else it's called without it. |
Why not? It is especially meant for variables and to merge rules and overwrite them without adding strikethrough rules on the browser side. |
|
What do you mean by merge rules?
if you have it without .lib-css() in 90% then i would never change it to false as i would end up cleaning up that 10% code but with 90% of incorrect code eg. padding: false/font-weight: false |
|
Hi @VladimirZaets, thank you for the review. |
|
@VladimirZaets what is needed to be updated? |
|
Hi @Karlasa, I add "Need update" label because Daniel had some question according to fix. I looked the fix, and I think it is ok. Thanks for collaboration. |
|
Hi @Karlasa. Thank you for your contribution. |
Description (*)
LESS code clean up to follow coding standards
Fixed Issues (if relevant)
Manual testing scenarios (*)
Contribution checklist (*)