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:
Chris Hill-Scott
2019-02-11 11:57:53 +00:00
parent 0c823db970
commit 1117984f5a

View File

@@ -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 {