Scale the SVG to the viewport width on the website
This commit is contained in:
parent
d8dec85a2c
commit
36bf7cb02f
|
@ -54,7 +54,11 @@ div.form * input[type=submit] {
|
|||
border: 1px solid #229;
|
||||
padding: 1em;
|
||||
display: block;
|
||||
width: fit-content;
|
||||
background: #888;
|
||||
border-radius: 2em;
|
||||
}
|
||||
|
||||
#svgcontainer svg {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
|
|
|
@ -29,8 +29,8 @@
|
|||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<div id="downloadlink"></div>
|
||||
<div id="svgcontainer"></div>
|
||||
<div id="downloadlink">Download-Link will appear here.</div>
|
||||
<div id="svgcontainer">Map will appear here.</div>
|
||||
<p>This map generator was built by Thomas DL5TKL.</p>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Reference in a new issue