fix: map size in safari (#404)

This commit is contained in:
Vojtech Simetka
2022-06-20 12:06:14 +02:00
committed by GitHub
parent 36fc4bfe98
commit ee864bdbe9
+1 -1
View File
@@ -79,7 +79,7 @@ export default function Card({ style }: Props): ReactElement {
<img
alt="world map"
src={`data:image/svg+xml;utf8,${encodeURIComponent(map)}`}
style={{ maxWidth: '100%', maxHeight: '100%', objectFit: 'contain' }}
style={{ maxWidth: '100%', maxHeight: '100%', objectFit: 'contain', flex: 1 }}
/>
</div>
)