Skip to content

Commit

Permalink
[CHANGE] Set media range notation to prefix
Browse files Browse the repository at this point in the history
My CSS compressor doesn't support "context" range notations yet.

- css/csso#464
- https://stylelint.io/user-guide/rules/media-feature-range-notation/
  • Loading branch information
ppfeufer committed Aug 24, 2023
1 parent 1347b50 commit 643816a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .stylelintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"color-no-hex": true,
"number-max-precision": 5,
"no-descending-specificity": null,
"media-feature-range-notation": "context",
"media-feature-range-notation": "prefix",
"selector-class-pattern": "_?[a-z0-9]+(-[a-z0-9]+)*$",
"selector-id-pattern": "_?[a-z0-9]+(-[a-z0-9]+)*$",
"selector-type-case": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
}
}

@media all and (width >= 768px) {
@media all and (min-width: 768px) {
#site-body-wrapper.row {
margin-left: -15px;
}
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 643816a

Please sign in to comment.