Skip to content

Commit 90b5d3a

Browse files
committed
sidebar comment shadow yay
1 parent ee060f9 commit 90b5d3a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,10 @@ export const AddComment: React.FC = () => {
2828
paddingX={2}
2929
paddingY={4}
3030
css={css({
31+
zIndex: 2,
3132
borderTop: '1px solid',
3233
borderColor: 'sideBar.border',
33-
// super custom shadow, TODO: check if this works in other themes
34-
boxShadow:
35-
'0px -4px 8px rgba(21, 21, 21, 0.4), 0px -8px 8px rgba(21, 21, 21, 0.4)',
34+
boxShadow: theme => `0px -32px 32px ${theme.colors.dialog.background}`,
3635
})}
3736
>
3837
<form onSubmit={onSubmit}>

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -418,6 +418,7 @@ const AddReply = ({ comment, ...props }) => {
418418
border: 'none',
419419
borderTop: '1px solid',
420420
borderColor: 'sideBar.border',
421+
borderRadius: 0,
421422
padding: 4,
422423
})}
423424
style={{ minHeight: 54 }}

0 commit comments

Comments
 (0)