I am facing an issue where my SVG image is not fully visible when displayed within an img tag on the browser's full screen. The bottom part of the image gets truncated, making it inaccessible to users.
Below is the code snippet I have been using:
html,
body {
margin: 0;
padding: 0;
overflow: hidden;
}
#svgPhoto {
position: fixed;
top: 0;
bottom: 0;
left: 0;
right: 0;
width: 100%;
}
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<img id="svgPhoto" src="https://dev.w3.org/SVG/tools/svgweb/samples/svg-files/aa.svg">
</body>