Skip to content

Commit 1e12711

Browse files
authored
Dialog - textarea colors, not height yet (codesandbox#3790)
* textarea colors, not height yet * oops, thats not supposed to be there
1 parent 29e7bc2 commit 1e12711

File tree

1 file changed

+5
-7
lines changed
  • packages/app/src/app/pages/Sandbox/Editor/Workspace/screens/Comments/Dialog

1 file changed

+5
-7
lines changed

packages/app/src/app/pages/Sandbox/Editor/Workspace/screens/Comments/Dialog/index.tsx

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ const DialogAddComment: React.FC<{
172172
const closeDialog = () => actions.comments.closeComment();
173173

174174
return (
175-
<Stack direction="vertical" gap={4}>
175+
<Stack direction="vertical" css={css({ paddingBottom: 4 })}>
176176
<DragHandle onPan={onDragHandlerPan}>
177177
<Stack
178178
justify="space-between"
@@ -199,11 +199,9 @@ const DialogAddComment: React.FC<{
199199
autosize
200200
autoFocus
201201
css={css({
202-
overflow: 'hidden',
202+
backgroundColor: 'transparent',
203203
border: 'none',
204-
display: 'block',
205-
borderTop: '1px solid',
206-
borderColor: 'sideBar.border',
204+
paddingLeft: 4,
207205
})}
208206
value={value}
209207
onChange={e => setValue(e.target.value)}
@@ -402,11 +400,11 @@ const AddReply = ({ comment }) => {
402400
<Textarea
403401
autosize
404402
css={css({
405-
overflow: 'hidden',
403+
backgroundColor: 'transparent',
406404
border: 'none',
407-
display: 'block',
408405
borderTop: '1px solid',
409406
borderColor: 'sideBar.border',
407+
paddingX: 4,
410408
})}
411409
value={value}
412410
onChange={e => setValue(e.target.value)}

0 commit comments

Comments
 (0)