peterramsing/lost

Media queries don't work with @lost variables

Open

#407 opened on Mar 19, 2018

View on GitHub
 (7 comments) (0 reactions) (0 assignees)JavaScript (4,506 stars) (177 forks)batch import
component: corehelp wantedstatus: Backlogtype: Enhancement

Description

Hello,

Is it possible - and if so how - to change @lost variables using media queries?

For example I have my gutter set to 30px: @lost gutter 30px;

This works. However, I want to have my gutter set to 6vw on mobile and the follow does not work:

@lost gutter 30px;

@media screen and (max-width: 480px) {
	@lost gutter 7vw;
}

Please can you advise how to get this working?

Thank you.

Contributor guide

Media queries don't work with @lost variables · peterramsing/lost#407 | Good First Issue