Skip to content

Commit

Permalink
Fix deprecation warning about declarations after nested rules
Browse files Browse the repository at this point in the history
  • Loading branch information
Stormheg committed Nov 14, 2024
1 parent 650a70d commit 70a2b9f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion wagtailio/static/sass/components/_blog-post.scss
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,10 @@
}

#{$root}__content {
@include offset-bg-right();
border-radius: 0 15px 15px 0;
gap: 20px;
background: var(--color--light-dark);
@include offset-bg-right();

@include media-query(medium) {
padding: $gutter $gutter-lg;
Expand Down
2 changes: 1 addition & 1 deletion wagtailio/static/sass/components/_teaser.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@
}

&__content {
@include offset-bg-right();
background-color: var(--color--light-dark);
grid-column: 2 / span 2;
padding: 20px;
@include offset-bg-right();

@include media-query(medium) {
padding: 30px 40px;
Expand Down

0 comments on commit 70a2b9f

Please sign in to comment.