mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-03 21:21:14 -04:00
Fix focus style on prev/next links
It has a hover colour so needs the focus colour re-defined. The `overflow: hidden` was clipping the black underline of the focus style on the prev/next links. This assumes it was only there to contain the 2 floating links so replaces it with a clearfix, which does the same without clipping the underline.
This commit is contained in:
@@ -34,7 +34,7 @@ $is-ie: false !default;
|
||||
margin-bottom: govuk-spacing(6);
|
||||
margin-left: -1 * govuk-spacing(3);
|
||||
margin-right: -1 * govuk-spacing(3);
|
||||
overflow: hidden;
|
||||
@include govuk-clearfix;
|
||||
|
||||
ul {
|
||||
margin: 0;
|
||||
@@ -55,11 +55,14 @@ $is-ie: false !default;
|
||||
padding: govuk-spacing(3);
|
||||
text-decoration: none;
|
||||
|
||||
&:hover,
|
||||
&:active {
|
||||
&:hover {
|
||||
background-color: $canvas-colour;
|
||||
}
|
||||
|
||||
&:focus {
|
||||
background-color: $govuk-focus-colour;
|
||||
}
|
||||
|
||||
.pagination-part-title {
|
||||
@include core-27($line-height: (33.75 / 27));
|
||||
display: block;
|
||||
|
||||
Reference in New Issue
Block a user