Skip to content

Commit f284b33

Browse files
authored
Fix for focus outline overlap in input group (#1955)
1 parent 5b9d3a0 commit f284b33

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.changeset/twenty-otters-remain.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@cloudfour/patterns': patch
3+
---
4+
5+
Prevent focused input outlines from being cut off by adjacent elements inside of Input Group objects

src/objects/input-group/input-group.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
.o-input-group {
44
display: flex;
55

6+
// Keeps focus styles from being cut off by adjacent, un-focused elements
7+
> :focus {
8+
z-index: 1;
9+
}
10+
611
> :not(:first-child) {
712
border-bottom-left-radius: 0;
813
border-top-left-radius: 0;

0 commit comments

Comments
 (0)