Allow print media queries
PaulSmithTrick14 opened this issue · comments
Paul Smith commented
Breakpoints have the mediatype hard coded to be screen. It is currently not possible to have a valid media query which references a different mediatype.
Removing that hard coding allows a breakpoint to be added like this
'breakpoints': (
... // as per existing
'print': 'print'
)
making it easier to control the print layout.
I have a pull request ready (my first one ever!) for this change if there is any interest.
Andy Bell commented
Let's do it, Paul! I have just defaulted to screen out of laziness so I'm very up for it being more useful.
Mario Fehr commented
@hankchizljaw as this was fixed with #12 this can be closed?