Skip to content

Commit ca84dd6

Browse files
committed
Fix the top margin of overlays in preview
1 parent 1a27ec4 commit ca84dd6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/common/src/components/Preview/elements.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export const Loading = styled.div`
2626
animation: ${fadeInAnimation} 0.2s;
2727
animation-fill-mode: forwards;
2828
position: absolute;
29-
top: 2.5rem;
29+
top: 35px;
3030
bottom: 0;
3131
right: 0;
3232
left: 0;

packages/common/src/components/Preview/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -819,7 +819,7 @@ class BasePreview extends React.Component<Props, State> {
819819
left: 0,
820820
right: 0,
821821
bottom: 0,
822-
top: 40,
822+
top: 35,
823823
zIndex: 0,
824824
}}
825825
>

0 commit comments

Comments
 (0)