mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-05 16:18:26 -04:00
Fix focus style gap at top in keyline-block
File-list items contained by div.keyline-block's are pushed down 3px more than elsewhere which creates a gap between the top of the focus style and the keyline above. This extends the part of the focus style made up by a box-shadow by 3px so it covers the gap.
This commit is contained in:
@@ -120,6 +120,11 @@
|
|||||||
&.file-list-filename-large {
|
&.file-list-filename-large {
|
||||||
/* override box-shadow to push underline down a bit */
|
/* override box-shadow to push underline down a bit */
|
||||||
box-shadow: 0 -2px $govuk-focus-colour, 0 5px $govuk-focus-text-colour;
|
box-shadow: 0 -2px $govuk-focus-colour, 0 5px $govuk-focus-text-colour;
|
||||||
|
|
||||||
|
// File-list items contained by keyline-blocks have more spacing at the top so adapt to cover it
|
||||||
|
.keyline-block > .file-list & {
|
||||||
|
box-shadow: 0 -5px $govuk-focus-colour, 0 5px $govuk-focus-text-colour;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
& + .file-list-hint,
|
& + .file-list-hint,
|
||||||
|
|||||||
Reference in New Issue
Block a user