Skip to content

Commit

Permalink
Merge pull request #3268 from alphagov/fix-sass-warnings
Browse files Browse the repository at this point in the history
Fix Sass compilation warnings
  • Loading branch information
andysellick authored Jul 30, 2024
2 parents 7925a9a + 8567f50 commit f5abb3a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
.app-c-back-to-top {
margin-bottom: 0;
padding: govuk-spacing(3);
width: percentage(2 / 3);
width: 66%;

@include govuk-media-query($from: tablet) {
padding: govuk-spacing(4);
Expand Down
2 changes: 0 additions & 2 deletions app/assets/stylesheets/components/_figure.scss
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@
@include govuk-font(16);

@include govuk-media-query($from: tablet) {
@include govuk-font(14);

display: block;
vertical-align: top;
box-sizing: border-box;
Expand Down
8 changes: 4 additions & 4 deletions app/assets/stylesheets/views/_worldwide-organisation.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.worldwide-organisation-header {
margin-top: $govuk-gutter-half;
margin-bottom: $govuk-gutter-half;
margin-top: govuk-spacing(3);
margin-bottom: govuk-spacing(3);
}

.js-enabled {
Expand All @@ -20,12 +20,12 @@

.worldwide-organisation-header__logo {
@include govuk-media-query($from: tablet) {
margin-top: $govuk-gutter-half;
margin-top: govuk-spacing(3);
}
}

.worldwide-organisation-header__metadata {
margin-top: $govuk-gutter / 3;
margin-top: govuk-spacing(2);

dl {
@include govuk-text-colour;
Expand Down

0 comments on commit f5abb3a

Please sign in to comment.