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 @@ -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