mirror of
https://bjh21.me.uk/bedstead/.git
synced 2026-08-09 01:40:28 -04:00
webstead: more sensible viewBox for <svg>
This commit is contained in:
parent
e6b411252b
commit
15f9f591a1
@ -79,6 +79,7 @@
|
||||
for (var e of document.querySelectorAll('#pixels input')) {
|
||||
e.onchange = update_glyph;
|
||||
}
|
||||
document.querySelector('#inpane').onreset = update_glyph;
|
||||
update_glyph();
|
||||
}
|
||||
import("./bedstead.js").then((module) => {
|
||||
@ -164,7 +165,7 @@
|
||||
</table>
|
||||
</form>
|
||||
<div id="outpane">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="100 100 500 1000">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="100 100 500 900">
|
||||
<g transform="scale(1,-1) translate(0,-800)">
|
||||
<path id="rendered" fill="currentColor"/>
|
||||
</g>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user