improve disabled form-field style
This commit is contained in:
parent
1e95072722
commit
b49428b76b
2 changed files with 6 additions and 0 deletions
|
@ -82,6 +82,7 @@ export class FormField extends React.PureComponent<Props> {
|
|||
<div
|
||||
className={classnames('form-field', {
|
||||
'form-field--stretch': stretch || type === 'markdown',
|
||||
'form-field--disabled': inputProps.disabled,
|
||||
})}
|
||||
>
|
||||
{(label || errorMessage) && (
|
||||
|
|
|
@ -41,6 +41,11 @@
|
|||
}
|
||||
}
|
||||
|
||||
.form-field.form-field--disabled {
|
||||
opacity: 0.4;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.form-field--SimpleMDE {
|
||||
display: block;
|
||||
width: 100%;
|
||||
|
|
Loading…
Reference in a new issue