scalatags icon indicating copy to clipboard operation
scalatags copied to clipboard

Support media queries in stylesheet package

Open lihaoyi opened this issue 8 years ago • 0 comments

Currently they don't work. You can do weird workarounds by embedding the entire text of a stylesheet into a string:

tags2.style(s"@media (min-width: 60em) {${styles.Wide.sheet}}"),
tags2.style(s"@media (max-width: 60em) {${styles.Narrow.sheet}}"),

But they really should be supported as part of scalatags.stylesheet

lihaoyi avatar Feb 04 '17 16:02 lihaoyi