SVG scaling issue #382
Unanswered
markusgritsch
asked this question in
Q&A
Replies: 2 comments 5 replies
-
|
Ah, I spotted the bug. SVG is XML and thus case sensitive. |
Beta Was this translation helpful? Give feedback.
2 replies
-
|
I am sorry, it took me a while to spot the difference between your two examples. In the first example, you return a string, in the second one, |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm running the following on the
fscherf/topic/html-refactoringbranch.I would like to get an SVG dynamically scaled to the browser width. It works, when returning the SVG directly like this:
However, when putting the SVG inside an HTML() class, scaling does not work anymore:
I don't understand why this is the case, since the DOM looks similar to me.
Beta Was this translation helpful? Give feedback.
All reactions