Fix focus styles in admin form controls

We lost focus styles on certain controls in commit 4dad04ae3, since we
were applying a border with a rule which had more precedence than the
rule of border on focus.
This commit is contained in:
Javi Martín
2021-08-02 00:06:14 +02:00
parent 35a45837ff
commit cd45607ce2
2 changed files with 5 additions and 0 deletions

View File

@@ -274,6 +274,10 @@ $table-header: #ecf1f6;
border: $admin-border;
border-radius: rem-calc(6);
box-shadow: none;
&:focus {
border: $input-border-focus;
}
}
}

View File

@@ -39,6 +39,7 @@
width: auto;
&:focus {
border: 0;
outline: $outline-focus;
}