File tree Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,10 @@ import HeroImage from "components/HeroImage";
10
10
11
11
import { Widget } from "./Widget" ;
12
12
13
+ const Wrapper = styled . div `
14
+ width: 100%;
15
+ ` ;
16
+
13
17
const Container = styled . div `
14
18
width: 100%;
15
19
background-color: ${ ( { theme } ) => theme . lightBackground } ;
@@ -25,13 +29,13 @@ const Container = styled.div`
25
29
26
30
const GetPnk : React . FC = ( ) => {
27
31
return (
28
- < >
32
+ < Wrapper >
29
33
< HeroImage />
30
34
< Container >
31
35
{ ! isProductionDeployment ( ) && < ClaimPnkButton /> }
32
36
< Widget />
33
37
</ Container >
34
- </ >
38
+ </ Wrapper >
35
39
) ;
36
40
} ;
37
41
Original file line number Diff line number Diff line change @@ -22,6 +22,10 @@ import Policy from "./Policy";
22
22
import Preview from "./Preview" ;
23
23
import Timeline from "./Timeline" ;
24
24
25
+ const Wrapper = styled . div `
26
+ width: 100%;
27
+ ` ;
28
+
25
29
const Container = styled . div `
26
30
display: flex;
27
31
flex-direction: column;
@@ -71,7 +75,7 @@ const DisputeResolver: React.FC = () => {
71
75
const { isConnected } = useAccount ( ) ;
72
76
const isPreviewPage = location . pathname . includes ( "/preview" ) ;
73
77
return (
74
- < >
78
+ < Wrapper >
75
79
< HeroImage />
76
80
< Container >
77
81
{ isConnected && ! isPreviewPage ? < StyledLabel > Start a case</ StyledLabel > : null }
@@ -101,7 +105,7 @@ const DisputeResolver: React.FC = () => {
101
105
</ ConnectWalletContainer >
102
106
) }
103
107
</ Container >
104
- </ >
108
+ </ Wrapper >
105
109
) ;
106
110
} ;
107
111
You can’t perform that action at this time.
0 commit comments