Skip to content

Commit 7a6d67f

Browse files
committed
refactor(web): make-preview-unclickable
1 parent cc83560 commit 7a6d67f

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

web/src/pages/SubmitItem/Preview/index.tsx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ const StyledCard = styled(Card)`
2525
margin-bottom: ${responsiveSize(0, 16)};
2626
padding: ${responsiveSize(24, 48)} ${responsiveSize(24, 32)};
2727
gap: 32px;
28+
position: relative;
2829
`;
2930

3031
const Title = styled.h2`
@@ -39,14 +40,19 @@ const Title = styled.h2`
3940
`
4041
)}
4142
`;
42-
43+
const Overlay = styled.div`
44+
width: 100%;
45+
height: 100%;
46+
position: absolute;
47+
`;
4348
const Preview: React.FC = () => {
4449
return (
4550
<Container>
4651
<Title>Preview</Title>
4752
<StyledCard>
4853
<ListDisplay />
4954
<ItemDisplay />
55+
<Overlay />
5056
</StyledCard>
5157
<NavigationButtons prevRoute="/submitItem/policy" />
5258
</Container>

0 commit comments

Comments
 (0)