Skip to content

Commit

Permalink
WIP replace border bottom with outline
Browse files Browse the repository at this point in the history
  • Loading branch information
Vanita Barrett committed Jan 29, 2021
1 parent 478fd7c commit 16a914f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/govuk/components/cookie-banner/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
.govuk-cookie-banner {
@include govuk-font($size: 19);

// Visually separate the cookie banner from content underneath
// when user changes colours in their browser.
outline: 3px solid transparent;

background-color: govuk-colour("light-grey", $legacy: "grey-3");
}

Expand All @@ -13,10 +17,6 @@
// Clear out internal bottoms margins on things, for instance those set by .govuk-button-group,
// so that they collapse instead of "leaking" outside the container.
@include govuk-clearfix;

// Visually separate the cookie banner from content underneath
// when user changes colours in their browser.
border-bottom: $govuk-focus-width solid transparent;
}

.govuk-cookie-banner[hidden] {
Expand Down

0 comments on commit 16a914f

Please sign in to comment.