Skip to content

Commit cf5817d

Browse files
juuso-vaadinpaodb
authored andcommitted
Fixes focus ring clipping
1 parent 2ef7a71 commit cf5817d

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/theme/lumo/vcf-breadcrumb-styles.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,15 @@ registerStyles(
4242
white-space: nowrap;
4343
text-overflow: ellipsis;
4444
}
45+
46+
/* Focus ring */
47+
:host(:focus-within) [part="link"] {
48+
outline: var(--vaadin-focus-ring-color, var(--lumo-primary-color-50pct)) auto 1px;
49+
outline-offset: 1px;
50+
}
51+
52+
::slotted(a:focus) {
53+
outline: none;
54+
}
4555
`
4656
);

0 commit comments

Comments
 (0)