diff --git a/web/src/pages/GetPnk/index.tsx b/web/src/pages/GetPnk/index.tsx index e2d82ecd2..96527d282 100644 --- a/web/src/pages/GetPnk/index.tsx +++ b/web/src/pages/GetPnk/index.tsx @@ -10,6 +10,10 @@ import HeroImage from "components/HeroImage"; import { Widget } from "./Widget"; +const Wrapper = styled.div` + width: 100%; +`; + const Container = styled.div` width: 100%; background-color: ${({ theme }) => theme.lightBackground}; @@ -25,13 +29,13 @@ const Container = styled.div` const GetPnk: React.FC = () => { return ( - <> + {!isProductionDeployment() && } - + ); }; diff --git a/web/src/pages/Home/index.tsx b/web/src/pages/Home/index.tsx index 70e69d75d..79fbca13b 100644 --- a/web/src/pages/Home/index.tsx +++ b/web/src/pages/Home/index.tsx @@ -13,6 +13,10 @@ import Community from "./Community"; import CourtOverview from "./CourtOverview"; import TopJurors from "./TopJurors"; +const Wrapper = styled.div` + width: 100%; +`; + const Container = styled.div` width: 100%; background-color: ${({ theme }) => theme.lightBackground}; @@ -24,13 +28,15 @@ const Container = styled.div` const Home: React.FC = () => { return ( - - - - - - - + + + + + + + + + ); }; diff --git a/web/src/pages/Resolver/index.tsx b/web/src/pages/Resolver/index.tsx index 7a25d2495..deec0d39e 100644 --- a/web/src/pages/Resolver/index.tsx +++ b/web/src/pages/Resolver/index.tsx @@ -22,6 +22,10 @@ import Policy from "./Policy"; import Preview from "./Preview"; import Timeline from "./Timeline"; +const Wrapper = styled.div` + width: 100%; +`; + const Container = styled.div` display: flex; flex-direction: column; @@ -71,7 +75,7 @@ const DisputeResolver: React.FC = () => { const { isConnected } = useAccount(); const isPreviewPage = location.pathname.includes("/preview"); return ( - <> + {isConnected && !isPreviewPage ? Start a case : null} @@ -101,7 +105,7 @@ const DisputeResolver: React.FC = () => { )} - + ); };