Skip to content

Commit 2f61fad

Browse files
authored
Merge pull request #471 from IFRCGo/fix/center-ppp-dashboard
Center PPP Dashboard and fix missing char in URL
2 parents 914e77b + c2aca35 commit 2f61fad

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

src/views/GlobalThreeW/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ export function Component() {
300300
<iframe
301301
title={strings.PPPMapTitle}
302302
className={styles.pppIframe}
303-
src="https://public.tableau.com/views/PPPdashboard_16805965348010/1_Overview?:showVizHome=no&:embed=true:language=en-US&:origin=viz_share_link&:display_count=yes&:toolbar=yes"
303+
src="https://public.tableau.com/views/PPPdashboard_16805965348010/1_Overview?:showVizHome=no&:embed=true&:language=en-US&:origin=viz_share_link&:display_count=no&:toolbar=yes"
304304
/>
305305
</Container>
306306
</>

src/views/GlobalThreeW/styles.module.css

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,14 @@
3939
}
4040

4141
.iframe-content {
42+
display: flex;
43+
align-items: center;
44+
justify-content: center;
45+
4246
.ppp-iframe {
4347
border: none;
44-
width: 100%;
45-
height: 54rem;
48+
width: 1050px;
49+
height: 850px;
4650
}
4751
}
4852
}

0 commit comments

Comments
 (0)