Skip to content

Commit 5795d60

Browse files
thecodingaviatorGatsbyJS Bot
authored and
GatsbyJS Bot
committed
fix(www): line-height in docs feedback (#19422)
* fix(www): line-height in docs feedback * use system-ui * put dense in backticks * Use the `default` line-height (1.5) — feels a little better IMO * No need to spread `textareaStyles`
1 parent 337bbd0 commit 5795d60

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

www/src/components/feedback-widget/feedback-form.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,9 @@ const textareaStyles = {
7171
height: `5.5rem`,
7272
mt: 1,
7373
mb: 4,
74+
px: 3,
75+
py: 2,
76+
lineHeight: `default`,
7477
overflowY: `scroll`,
7578
}
7679

@@ -124,7 +127,7 @@ const FeedbackForm = ({
124127
<TextareaLabel className={`textarea ${submitting ? `disabled` : ``}`}>
125128
Your comments <span>(optional):</span>
126129
<textarea
127-
sx={{ ...textareaStyles, mb: 4 }}
130+
sx={textareaStyles}
128131
value={comment}
129132
onChange={handleCommentChange}
130133
disabled={submitting}

0 commit comments

Comments
 (0)