publish: fix textarea padding on firefox

Firefox treats the padding as literal padding;
other browsers treat the padding as part of the writable
area. This sets it as an initial height.
This commit is contained in:
Matilde Park 2020-03-09 22:00:49 -04:00
parent 636d99b405
commit ef9d5da931

View File

@ -65,9 +65,10 @@ export class Comments extends Component {
id="comment"
name="comment"
placeholder="Leave a comment here"
className={"f9 db border-box w-100 ba b--gray3 pt3 ph3 pb8 br1 " +
className={"f9 db border-box w-100 ba b--gray3 pt3 ph3 br1 " +
"b--gray2-d mb2 focus-b--black focus-b--white-d white-d bg-gray0-d"}
aria-describedby="comment-desc"
style={{height: "4rem"}}
onChange={this.commentChange}>
</textarea>
</div>