fix description height on publish page #1195
This commit is contained in:
parent
3bb530411d
commit
6a6d6db08c
3 changed files with 11 additions and 2 deletions
|
@ -33,6 +33,7 @@
|
|||
"printWidth": 100,
|
||||
"singleQuote": true
|
||||
}],
|
||||
"func-names": ["warn", "as-needed"]
|
||||
"func-names": ["warn", "as-needed"],
|
||||
"jsx-a11y/label-has-for": 0
|
||||
}
|
||||
}
|
||||
|
|
|
@ -74,7 +74,11 @@ export class FormField extends React.PureComponent<Props> {
|
|||
{error}
|
||||
</label>
|
||||
)}
|
||||
<div className="form-field__input">
|
||||
<div
|
||||
className={classnames('form-field__input', {
|
||||
'form-field--auto-height': type === 'markdown',
|
||||
})}
|
||||
>
|
||||
{prefix && (
|
||||
<label htmlFor={name} className="form-field__prefix">
|
||||
{prefix}
|
||||
|
|
|
@ -43,6 +43,10 @@
|
|||
input[type='radio'] {
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
&.form-field--auto-height {
|
||||
height: auto;
|
||||
}
|
||||
}
|
||||
|
||||
.form-field__help,
|
||||
|
|
Loading…
Reference in a new issue