no focus-ring for readonly editable-text (#3656)

This commit is contained in:
abaevbog 2024-02-01 03:01:19 -05:00 committed by GitHub
parent 8a9df4a1b3
commit 0985362829
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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;