Skip to content

Commit

Permalink
Ignore rules for media-feature-range syntax
Browse files Browse the repository at this point in the history
We cannot fix the Stylint error by using the new CSS media query range syntax,
as we will get a new error when trying to compile our CSS. The reason for this is
that we use the sassc-rails gem to compile our CSS, this includes the deprecated
LibSass library which does not understand the new CSS media query range syntax.
  • Loading branch information
catalinailie committed Aug 23, 2023
1 parent 6b375a8 commit b661f43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/assets/stylesheets/views/_covid.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ $c19-landing-page-header-background: govuk-colour("blue");
.covid__page {
.govuk-grid-column-one-third,
.govuk-grid-column-two-thirds {
@media (max-width: 950px) {
@media (max-width: 950px) { // stylelint-disable-line media-feature-range-notation
width: 100%;
}
}
Expand Down

0 comments on commit b661f43

Please sign in to comment.