Skip to content

Commit

Permalink
fix: map size in safari (#404)
Browse files Browse the repository at this point in the history
  • Loading branch information
vojtechsimetka committed Jun 20, 2022
1 parent 36fc4bf commit ee864bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Map.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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>
)
Expand Down

0 comments on commit ee864bd

Please sign in to comment.