Skip to content

Commit e744b02

Browse files
committed
Fix invalid inline input confirm border
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
1 parent 02de677 commit e744b02

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

core/css/inputs.scss

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,11 @@ input {
248248

249249
/* only show confirm borders if input is not focused */
250250
&:not(:active):not(:hover):not(:focus){
251+
&:invalid {
252+
+ .icon-confirm {
253+
border-color: var(--color-error);
254+
}
255+
}
251256
+ .icon-confirm {
252257
&:active,
253258
&:hover,
@@ -263,11 +268,6 @@ input {
263268
&:active,
264269
&:hover,
265270
&:focus {
266-
&:invalid {
267-
+ .icon-confirm {
268-
border-color: var(--color-error);
269-
}
270-
}
271271
+ .icon-confirm {
272272
border-color: var(--color-primary-element) !important;
273273
border-left-color: transparent !important;

0 commit comments

Comments
 (0)