Ghost textarea fixes (#12717)
* comment textarea padding * font family fix * one more
This commit is contained in:
parent
a655f3815e
commit
1be3602724
3 changed files with 8 additions and 4 deletions
|
|
@ -157,8 +157,6 @@
|
|||
|
||||
&__field {
|
||||
flex: 1 auto;
|
||||
font-size: var(--fs-l);
|
||||
font-family: var(--ff-monospace);
|
||||
overflow: hidden;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,8 +34,14 @@
|
|||
|
||||
.comment-textarea {
|
||||
resize: vertical;
|
||||
padding: 0.5em;
|
||||
max-height: 40vh;
|
||||
|
||||
// We need to overwrite default styles for `.crayons-textfield--ghost`
|
||||
&,
|
||||
&:hover,
|
||||
&:focus {
|
||||
padding: 0.5em;
|
||||
}
|
||||
}
|
||||
|
||||
&__toolbar,
|
||||
|
|
|
|||
|
|
@ -76,7 +76,7 @@ export const EditorBody = ({
|
|||
<Toolbar version={version} />
|
||||
|
||||
<Textarea
|
||||
className="crayons-textfield crayons-textfield--ghost crayons-article-form__body__field"
|
||||
className="crayons-textfield crayons-textfield--ghost crayons-article-form__body__field ff-monospace fs-l"
|
||||
id="article_body_markdown"
|
||||
aria-label="Post Content"
|
||||
placeholder="Write your post content here..."
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue