🐛 Strengthen TextField error border
Widen the error ring to 2px so invalid fields are visible at a glance in dense forms.
This commit is contained in:
1 parent
f9489fdffc
commit
885df0a2ff
1 file changed
+6
@@ -51,6 +51,12 @@
|
|||||||
box-shadow: 0 0 0 1px var(--a-border-danger);
|
box-shadow: 0 0 0 1px var(--a-border-danger);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Increase the error ring so it reads at a glance on light backgrounds. */
|
||||||
|
.navds-text-field--error {
|
||||||
|
box-shadow: 0 0 0 2px #c30000;
|
||||||
|
border-color: #c30000;
|
||||||
|
}
|
||||||
|
|
||||||
.navds-form-field__error {
|
.navds-form-field__error {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|||||||
Reference in new issue
Block a user