Skip to content

Commit

Permalink
AlternativeVerticals: add :focus styling to links (#1063)
Browse files Browse the repository at this point in the history
* AlternativeVerticals: add :focus styling to links

This commit adds default :focus styling to the vertical
and universal links.

J=SLAP-588
TEST=manual

Check that I can tab over to the links, and they will show the new
styling when tabbed over to.

test that if I change the focus color to pink, the pink takes priority
over the regular text color
  • Loading branch information
oshi97 authored Sep 4, 2020
1 parent c1f48e9 commit ebcfcf8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ui/sass/modules/_AlternativeVerticals.scss
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ $alternative-verticals-emphasized-font-weight: var(--yxt-font-weight-medium) !de
margin-right: 5px;
}

&:hover {
&:hover, &:focus {
.yxt-AlternativeVerticals-suggestionLink--copy {
text-decoration: underline;
}
Expand All @@ -105,7 +105,7 @@ $alternative-verticals-emphasized-font-weight: var(--yxt-font-weight-medium) !de
&-universalLink {
text-decoration: none;

&:hover {
&:hover, &:focus {
text-decoration: underline;
}
}
Expand Down

0 comments on commit ebcfcf8

Please sign in to comment.