Skip to content
Snippets Groups Projects
Commit 5f9eb72a authored by mehtank's avatar mehtank
Browse files

aesthetics

parent 425ca799
No related merge requests found
......@@ -10,8 +10,8 @@ var viewBox;
function swapSVG(par, svgstring) {
par.innerHTML = svgstring;
svg = document.querySelector('svg');
svg.removeAttribute("height");
svg.removeAttribute("width");
svg.setAttribute("height", "100%");
svg.setAttribute("width", "100%");
if (viewBox) {
svg.viewBox.baseVal.x = viewBox.x;
svg.viewBox.baseVal.y = viewBox.y;
......
......@@ -39,11 +39,13 @@
height: 70vh;
}
#dxf {
background: aliceblue;
position: fixed;
bottom: 0;
right: 0;
width: 80vw;
height: 30vh;
padding: 5px;
}
</style>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment