Dear all,
I am trying to figure out whether I am facing a bug or desired behavior. I
have the following code:
import Svg exposing (..)
import Svg.Attributes exposing (..)
main =
svg
[ version "1.1", x "0", y "0", height "100%", width "100%"
]
[ circle [ r "40%", cx "50%", cy "50%" ] []
]
When looking at the results via elm-reactor, I see this:
When I compile the main.elm file to generate an index.html I see this:
It was pointed out in the slack channel that the reactor seems to have height:
100% attributes both in the html and body tags, but that these were missing
from the elm-make output html.
I understand that a possible solution is compiling to js and manually
creating my html to have default css styles, but I am wondering if this is
desired behavior or if it is buggy behavior.
I have noted similar issues with similar code using elm-lang/html instead
of elm-lang/svg.
Salomon
--
You received this message because you are subscribed to the Google Groups "Elm
Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.