Skip to content

Commit

Permalink
Fix expander focus style
Browse files Browse the repository at this point in the history
  • Loading branch information
andysellick committed Aug 16, 2019
1 parent 474fc4f commit 911fadb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/assets/stylesheets/components/_expander.scss
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,17 @@

.app-c-expander__button {
@include govuk-font(19, $weight: bold);
@include govuk-focusable;
position: relative;
width: 100%;
border: 0;
padding: govuk-spacing(2) govuk-spacing(6) govuk-spacing(2) 0;
background: none;
text-align: left;
cursor: pointer;

&:focus {
@include govuk-focused-text;
}
}

.js-enabled {
Expand Down

0 comments on commit 911fadb

Please sign in to comment.