Skip to content

Commit 810dd28

Browse files
authored
Dialog: Smoother list shadow (codesandbox#3831)
1 parent e7d660f commit 810dd28

File tree

1 file changed

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

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,8 @@ const DialogHeader = ({ comment, hasShadow }) => {
264264
hasShadow
265265
? `0px 32px 32px ${theme.colors.dialog.background}`
266266
: 'none',
267+
transition: 'box-shadow ease-in-out',
268+
transitionDuration: theme => theme.speeds[1],
267269
})}
268270
>
269271
<Text size={3} weight="bold">

0 commit comments

Comments
 (0)