Skip to content

Commit

Permalink
adding focus styling to match hover (for now)
Browse files Browse the repository at this point in the history
  • Loading branch information
eriklharper committed Feb 17, 2024
1 parent eb61c26 commit c7b3bff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/calcite-components/src/components/tile/tile.scss
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,8 @@
padding: var(--calcite-spacing-xl);
}
}
:host(:not([embed])[href]:hover) {
:host(:not([embed])[href]:hover),
:host(:not([embed])[href]:focus) {
--calcite-tile-border-color: var(--calcite-color-brand);
.container {
box-shadow: 0 0 0 2px var(--calcite-tile-border-color);
Expand Down

0 comments on commit c7b3bff

Please sign in to comment.