Min-width on map

This commit is contained in:
maciejhirsz
2018-07-17 17:15:34 +02:00
parent f4a4f1091a
commit d10fb4a1e1
2 changed files with 2 additions and 0 deletions
@@ -43,6 +43,7 @@
}
.Chain-map {
min-width: 1350px;
background: url('../assets/world-map.svg') no-repeat;
background-size: contain;
background-position: center;
@@ -186,6 +186,7 @@ export class Chain extends React.Component<Chain.Props, Chain.State> {
private calculateMapDimensions: () => void = () => {
const vp = viewport();
vp.width = Math.max(1350, vp.width);
vp.height -= HEADER;
const ratio = vp.width / vp.height;