mirror of
https://github.com/bitwarden/browser
synced 2025-12-14 23:33:31 +00:00
[CL-113] add readonly styles to bitInput (#6220)
* add readonly styles and story * only add style to input & textarea
This commit is contained in:
@@ -44,6 +44,7 @@ export class BitInputDirective implements BitFormFieldControl {
|
||||
"focus:tw-ring-primary-700",
|
||||
"focus:tw-z-10",
|
||||
"disabled:tw-bg-secondary-100",
|
||||
"[&:is(input,textarea):read-only]:tw-bg-secondary-100",
|
||||
].filter((s) => s != "");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user