Skip to content

Commit

Permalink
Add border to tag for overriden colours
Browse files Browse the repository at this point in the history
  • Loading branch information
NickColley committed Jul 2, 2018
1 parent 8136741 commit 36706b6
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/components/tag/_tag.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,15 @@

@include govuk-exports("govuk/component/tag") {
.govuk-tag {
@include govuk-font($size: 16, $weight: bold, $line-height: 1.25);
@include govuk-font($size: 16, $weight: bold, $line-height: 1);

display: inline-block;
padding: govuk-spacing(1) 8px 0;
padding-top: .3125em;
padding-right: .3125em;
padding-bottom: .125em;
padding-left: .3125em;

border: .125em solid govuk-colour("blue");

color: govuk-colour("white");
background-color: govuk-colour("blue");
Expand All @@ -18,6 +23,7 @@
}

.govuk-tag--inactive {
border-color: govuk-colour("grey-1");
background-color: govuk-colour("grey-1");
}
}

0 comments on commit 36706b6

Please sign in to comment.