fix: map size in safari (#404)
This commit is contained in:
@@ -79,7 +79,7 @@ export default function Card({ style }: Props): ReactElement {
|
|||||||
<img
|
<img
|
||||||
alt="world map"
|
alt="world map"
|
||||||
src={`data:image/svg+xml;utf8,${encodeURIComponent(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>
|
</div>
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user