no focus-ring for readonly editable-text (#3656)
This commit is contained in:
parent
8a9df4a1b3
commit
0985362829
1 changed files with 4 additions and 0 deletions
|
@ -70,6 +70,10 @@ editable-text {
|
|||
--width-focus-border: 1px;
|
||||
--radius-focus-border: 5px;
|
||||
|
||||
// No focus ring for read-only fields
|
||||
&:read-only {
|
||||
--width-focus-border: 0px;
|
||||
}
|
||||
@include focus-ring;
|
||||
// Necessary for consistent padding, even if it's actually an <input>
|
||||
-moz-default-appearance: textarea;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue