Catalin Constantin Mititiuc b449601a6b Update implementation to account for WebKit bug
getScreenCTM() on WebKit does not reflect transformations applied to an ancestor (see bug https://bugs.webkit.org/show_bug.cgi?id=209220), so instead of transforming the root <svg> element, we can only transform a child element
2025-06-16 23:25:25 -07:00

18 lines
263 B
CSS

body {
text-align: center;
max-height: 100vh;
display: flex;
flex-direction: column;
margin: 0;
}
object {
padding: 0;
margin: 5px;
border: 1px solid steelblue;
background-color: gray;
touch-action: none;
display: block;
min-height: 0;
}