Timeline for Can't get Magento2's .media-width() LESS mixin to work
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 14, 2019 at 13:09 | comment | added | phagento | Awesome! Such a good explanation! | |
Apr 1, 2017 at 15:51 | vote | accept | Holly | ||
Apr 1, 2017 at 15:51 | comment | added | Holly |
@circlesix just tried nesting the media-width() mixin within the media-common = true mixin and it didn't work. It's not the way they do in the magento core either so I think it's best to keep it to the pattern above.
|
|
Mar 30, 2017 at 13:04 | comment | added | circlesix |
well put! did you try having the nested styles inside the media-common = true ? Given what you are finding, it might be possible to nest the media queries if you configure it differently then the way i have been doing it. Might be worth a try and see what the results are.
|
|
Mar 29, 2017 at 23:31 | history | answered | Holly | CC BY-SA 3.0 |