File tree 3 files changed +25
-11
lines changed
3 files changed +25
-11
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 @@ -13,6 +13,10 @@ import Community from "./Community";
13
13
import CourtOverview from "./CourtOverview" ;
14
14
import TopJurors from "./TopJurors" ;
15
15
16
+ const Wrapper = styled . div `
17
+ width: 100%;
18
+ ` ;
19
+
16
20
const Container = styled . div `
17
21
width: 100%;
18
22
background-color: ${ ( { theme } ) => theme . lightBackground } ;
@@ -24,13 +28,15 @@ const Container = styled.div`
24
28
const Home : React . FC = ( ) => {
25
29
return (
26
30
< HomePageProvider timeframe = { getOneYearAgoTimestamp ( ) } >
27
- < HeroImage />
28
- < Container >
29
- < CourtOverview />
30
- < LatestCases />
31
- < TopJurors />
32
- < Community />
33
- </ Container >
31
+ < Wrapper >
32
+ < HeroImage />
33
+ < Container >
34
+ < CourtOverview />
35
+ < LatestCases />
36
+ < TopJurors />
37
+ < Community />
38
+ </ Container >
39
+ </ Wrapper >
34
40
</ HomePageProvider >
35
41
) ;
36
42
} ;
Original file line number Diff line number Diff line change @@ -25,6 +25,10 @@ import Policy from "./Policy";
25
25
import Preview from "./Preview" ;
26
26
import Timeline from "./Timeline" ;
27
27
28
+ const Wrapper = styled . div `
29
+ width: 100%;
30
+ ` ;
31
+
28
32
const Container = styled . div `
29
33
display: flex;
30
34
flex-direction: column;
@@ -89,7 +93,7 @@ const DisputeResolver: React.FC = () => {
89
93
const isPreviewPage = location . pathname . includes ( "/preview" ) ;
90
94
91
95
return (
92
- < >
96
+ < Wrapper >
93
97
< HeroImage />
94
98
< Container >
95
99
{ isConnected ? (
@@ -127,7 +131,7 @@ const DisputeResolver: React.FC = () => {
127
131
</ ConnectWalletContainer >
128
132
) }
129
133
</ Container >
130
- </ >
134
+ </ Wrapper >
131
135
) ;
132
136
} ;
133
137
You can’t perform that action at this time.
0 commit comments