Skip to content

Commit

Permalink
Lint SCSS
Browse files Browse the repository at this point in the history
  • Loading branch information
paulrobertlloyd committed Dec 19, 2023
1 parent 7b6cf59 commit 8da92db
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions govspeak/place/_place.scss
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
.govspeak-place {
margin: 1.5em 0;
border-bottom: solid 1px govuk-colour("mid-grey");
margin: 1.5em 0;
padding-bottom: 1.5em;

.govspeak-address {
display: block;
margin: 0;
padding: 0;
width: auto;
display: block;
}

@include govuk-media-query($until: tablet) {
Expand Down
10 changes: 5 additions & 5 deletions govspeak/steps/_steps.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@
@extend %govuk-list;

> li {
list-style-type: none;
margin-left: 0;
padding: 0.75em 0 0.75em 2.5em;
position: relative;
box-sizing: border-box;

// IE doesn't render this correctly with this element as display:block
// (it leaves a space for the :before pseudo element) by setting to
// display inline block and a width of 100% it works correctly.
display: inline-block;
list-style-type: none;
margin-left: 0;
padding: 0.75em 0 0.75em 2.5em;
position: relative;
width: 100%;
box-sizing: border-box;

&::before {
background-color: govuk-colour("black");
Expand Down
2 changes: 1 addition & 1 deletion govspeak/warning-callout/_warning-callout.scss
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
.govspeak-warning-callout {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 35 35'%3E%3Ccircle cx='17.5' cy='17.5' r='17.5' fill='%230B0C0C'/%3E%3Cpath fill='%23FFF' d='M19 26h-3v-3h3v3Zm0-7h-3V9h3v10Z'/%3E%3C/svg%3E");
background-position: 0 4.5px;
background-repeat: no-repeat;
background-size: 35px 35px;
background-position: 0 4.5px;
min-height: 2.5em;
padding: govuk-spacing(2) 0 govuk-spacing(2) 45px;

Expand Down

0 comments on commit 8da92db

Please sign in to comment.