Ghost textarea fixes (#12717)

* comment textarea padding

* font family fix

* one more
This commit is contained in:
ludwiczakpawel 2021-02-17 18:33:08 +01:00 committed by GitHub
parent a655f3815e
commit 1be3602724
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 4 deletions

View file

@ -157,8 +157,6 @@
&__field {
flex: 1 auto;
font-size: var(--fs-l);
font-family: var(--ff-monospace);
overflow: hidden;
}
}

View file

@ -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,

View file

@ -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..."