Skip to content

Commit 52b7b74

Browse files
committed
Remove input outline on user-invalid focus-visible
1 parent 5213175 commit 52b7b74

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
## [Unreleased]
2+
- Remove input outline on user-invalid focus-visible
23

34
## 1.1.4 - 2025-02-18
45
- Small adjusts for menu components

lib/generators/css_zero/add/templates/app/assets/stylesheets/input.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
}
7272

7373
&:focus-visible:user-invalid {
74-
outline: var(--input-outline-size, 2px) solid rgb(from var(--color-negative) r g b / .2);
74+
outline: none;
7575
}
7676

7777
.field_with_errors & {

0 commit comments

Comments
 (0)