Skip to content

Commit b25698b

Browse files
committed
fix(label): use overflow clip to avoid cutting off focus outlines
Replace overflow: hidden with overflow: clip and overflow-clip-margin so focus outlines on the close button are not clipped. Assisted-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent c2c5e95 commit b25698b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

elements/pf-label/pf-label.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ pf-icon, ::slotted(pf-icon) {
2020
}
2121

2222
#container {
23-
overflow: hidden;
23+
overflow: clip;
24+
overflow-clip-margin: 3px;
2425
text-overflow: ellipsis;
2526
white-space: nowrap;
2627
border-width: 0;

0 commit comments

Comments
 (0)