Skip to content

Commit

Permalink
Merge pull request #265 from alphagov/remove-blue-focus-outline
Browse files Browse the repository at this point in the history
Remove the outline from the main content area
  • Loading branch information
gemmaleigh authored Jun 23, 2016
2 parents 33b8e00 + 5ab9aae commit 2dcfd76
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
7 changes: 0 additions & 7 deletions public/sass/elements-page.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,6 @@
// Elements page styles
// ==========================================================================

// Pressing enter when focus is on the skiplink sets focus on the #content area
// Remove the blue outline

#content {
outline: none;
}

// These are example styles, used only for the elements pages

.elements-index {
Expand Down
3 changes: 3 additions & 0 deletions public/sass/elements/_layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
@include media(desktop) {
padding-bottom: $gutter * 3;
}
// Pressing enter when focus is on the skiplink sets focus on the #content area
// Remove the blue outline
outline: none;
}


Expand Down

0 comments on commit 2dcfd76

Please sign in to comment.