mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-08 18:34:24 -04:00
Give link-buttons an outline in high contrast
The link-buttons we use in our pill component have a blue background which shows the area they occupy by default. In high contrast mode, backgrounds are hidden so the link-button text looks like it is floating because you can't see the edge of their area. These changes use the trick of adding a transparent border. This is hidden by default but displays in high contrast mode to show the edges of the link-button. I've reduced the padding to accommodate the extra space it takes up.
This commit is contained in:
@@ -122,7 +122,8 @@
|
||||
|
||||
display: block;
|
||||
text-align: left;
|
||||
padding: 10px govuk-spacing(3);
|
||||
padding: 9px (govuk-spacing(3) - 1);
|
||||
border: 1px solid transparent;
|
||||
text-align: center;
|
||||
|
||||
&:link,
|
||||
|
||||
Reference in New Issue
Block a user