Skip to content

Commit 3cc1575

Browse files
committed
Reduce the shadow size for safari
1 parent 1d1698e commit 3cc1575

File tree

1 file changed

+1
-1
lines changed
  • standalone-packages/sse-loading-screen/src

1 file changed

+1
-1
lines changed

standalone-packages/sse-loading-screen/src/Cube.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import styled, { keyframes } from 'preact-emotion';
66
const isSafari =
77
typeof navigator !== 'undefined' &&
88
/^((?!chrome|android).)*safari/i.test(navigator.userAgent);
9-
const SHADOW_SIZE = isSafari ? 100 : 150;
9+
const SHADOW_SIZE = isSafari ? 50 : 150;
1010

1111
const getContainerAnimation = (offset: number) => {
1212
return keyframes`

0 commit comments

Comments
 (0)