mirror of
https://github.com/urbit/shrub.git
synced 2025-01-04 18:43:46 +03:00
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:
parent
636d99b405
commit
ef9d5da931
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user