mirror of
https://github.com/snachodog/just-the-docs.git
synced 2025-04-16 16:12:23 -06:00
Fix context-based media feature (not supported by Safari <16.4
(#1240)
Realized that the new syntax is only supported on [Safari 16.4](https://caniuse.com/css-media-range-syntax), which is gated by OS updates. Going to revert this change for the foreseeable future. Closes #1239.
This commit is contained in:
parent
3723875b93
commit
e64d97c4c8
@ -12,7 +12,7 @@
|
|||||||
// If the key exists in the map
|
// If the key exists in the map
|
||||||
@if $value {
|
@if $value {
|
||||||
// Prints a media query based on the value
|
// Prints a media query based on the value
|
||||||
@media (width >= rem($value)) {
|
@media (min-width: rem($value)) {
|
||||||
@content;
|
@content;
|
||||||
}
|
}
|
||||||
} @else {
|
} @else {
|
||||||
|
@ -32,6 +32,7 @@
|
|||||||
"alpha-value-notation": null,
|
"alpha-value-notation": null,
|
||||||
"at-rule-empty-line-before": null,
|
"at-rule-empty-line-before": null,
|
||||||
"color-function-notation": null,
|
"color-function-notation": null,
|
||||||
|
"media-feature-range-notation": "prefix",
|
||||||
"no-descending-specificity": null,
|
"no-descending-specificity": null,
|
||||||
"scss/no-global-function-names": null
|
"scss/no-global-function-names": null
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user