mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-14 10:58:58 -04:00
Make hit area bigger on team members ‘edit’ links
Bigger hit areas are generally better (cf Fitt’s law[1]), as long as they’re not ambiguous. This commit enlarges the hit area of the edit links (using a border) so they fill the same vertical space as the row they sit in.
This commit is contained in:
@@ -57,10 +57,23 @@
|
||||
}
|
||||
|
||||
&-edit-link {
|
||||
|
||||
text-align: right;
|
||||
position: absolute;
|
||||
top: -25px;
|
||||
right: -135px;
|
||||
|
||||
a {
|
||||
border-top: 11px solid transparent;
|
||||
border-bottom: 10px solid transparent;
|
||||
border-left: 15px solid transparent;
|
||||
|
||||
&:hover {
|
||||
color: $link-hover-colour;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
&-hint {
|
||||
|
||||
Reference in New Issue
Block a user