You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using version 9.8.5
Prefixes are generated fine if $ratio is replaced with a fixed numeric value, e.g: 2. Not sure if this is intended behaviour or not?
Input SASS
@mixin govuk-device-pixel-ratio($ratio: 2) {
@media only screen and (min-resolution: $ratio*96dpi),
only screen and (min-resolution: $ratio*1dppx) {
@content;
}
}
Output SASS
@mixin govuk-device-pixel-ratio($ratio: 2) {
@media only screen and (min-resolution: $ratio*96dpi),
only screen and (min-resolution: $ratio*1dppx) {
@content;
}
}
Expected output SASS
@mixin govuk-device-pixel-ratio($ratio: 2) {
@media only screen and (-webkit-min-device-pixel-ratio: $ratio),
only screen and (min-resolution: $ratio*96dpi),
only screen and (-webkit-min-device-pixel-ratio: $ratio),
only screen and (min-resolution: $ratio*1dppx) {
@content;
}
}
Using version 9.8.5
Prefixes are generated fine if
$ratio
is replaced with a fixed numeric value, e.g:2
. Not sure if this is intended behaviour or not?Input SASS
Output SASS
Expected output SASS
Config
The text was updated successfully, but these errors were encountered: