Skip to content

Commit

Permalink
fix linting errors:
Browse files Browse the repository at this point in the history
  • Loading branch information
beccapearce committed Nov 10, 2023
1 parent 43780b4 commit ee5c98f
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion app/assets/stylesheets/components/_autocomplete.scss
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ $app-focus-colour: $govuk-focus-colour;
.autocomplete__option:hover {
padding: 5px 6px;

&:before {
&::before {
position: relative;
top: 3px;
padding-top: 2px;
Expand Down
2 changes: 1 addition & 1 deletion app/assets/stylesheets/components/_image-cropper.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ $app-cropper-point-size: 20px;

.cropper-line,
.cropper-point,
.cropper-point.point-se:before {
.cropper-point.point-se::before {
background-color: $govuk-focus-colour;
}

Expand Down
2 changes: 1 addition & 1 deletion app/assets/stylesheets/components/_markdown-guidance.scss
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
.app-c-markdown-guidance__item {
list-style: none;

&:before {
&::before {
content: "+";
}

Expand Down
6 changes: 3 additions & 3 deletions app/assets/stylesheets/components/_miller-columns.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@

// Remove box-shadow set in govuk-frontend for govuk-checkboxes__input
// as we rely on the parent element miller-columns__item to show the target area on hover
.govuk-checkboxes__item:hover .govuk-checkboxes__input:focus + .govuk-checkboxes__label:before,
.govuk-checkboxes__item:hover .govuk-checkboxes__input:not(:disabled) + .govuk-checkboxes__label:before {
.govuk-checkboxes__item:hover .govuk-checkboxes__input:focus + .govuk-checkboxes__label::before,
.govuk-checkboxes__item:hover .govuk-checkboxes__input:not(:disabled) + .govuk-checkboxes__label::before {
box-shadow: none;
}
}

.miller-columns__item--parent:after {
.miller-columns__item--parent::after {
margin-top: -15px;
}
2 changes: 1 addition & 1 deletion app/assets/stylesheets/components/_toolbar-dropdown.scss
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ $app-dropdown-arrow-spacing: $app-dropdown-arrow-size / 2;
box-shadow: none;
}

&:after {
&::after {
content: "";
position: relative;
top: 4px;
Expand Down

0 comments on commit ee5c98f

Please sign in to comment.