Skip to content

Commit

Permalink
Merge pull request #92 from SU-SWS/D8CORE-1938-focus
Browse files Browse the repository at this point in the history
D8CORE-1938: on vertical cards, move focus indicator from link/image …
  • Loading branch information
jenbreese authored Jul 24, 2020
2 parents 6a1373d + cf9f32a commit dbda2bf
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion dist/css/news-vertical-teaser.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,10 @@
text-decoration: underline;
}
}

&:focus {
outline: none;
}
}

// Action title link.
Expand Down Expand Up @@ -162,6 +166,11 @@
}
}
}

// Put the focus on the whole card
&:focus-within {
outline: -webkit-focus-ring-color auto 1px;
}
}
}

Expand Down

0 comments on commit dbda2bf

Please sign in to comment.