Skip to content

Commit 154db4b

Browse files
authored
Remove shadow from MarkdownEditor textarea (#2765)
* Remove box shadow from `MarkdownEditor` input * Create cool-jeans-applaud.md
1 parent 74016a7 commit 154db4b

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changeset/cool-jeans-applaud.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@primer/react": patch
3+
---
4+
5+
Remove shadow from `MarkdownEditor` `textarea`

src/drafts/MarkdownEditor/_MarkdownInput.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ export const MarkdownInput = forwardRef<HTMLTextAreaElement, MarkdownInputProps>
117117
sx={{
118118
width: '100%',
119119
borderStyle: 'none',
120+
boxShadow: 'none',
120121
height: fullHeight ? '100%' : undefined,
121122
outline: theme => {
122123
return isDraggedOver ? `solid 2px ${theme.colors.accent.fg}` : undefined

0 commit comments

Comments
 (0)