Fix Confetti demo

We don't need a positioned parent anymore. We may want to change this in the
future if we ever need to scope confetti to a container, but seems unlikely
given hoe we've been using it so far.
This commit is contained in:
Juan Edi 2021-01-22 16:31:33 -03:00
parent 72f06f02cb
commit 69c7047dfd

View File

@ -59,7 +59,7 @@ view (System system _) =
system
|> ParticleSystem.viewCustom viewConfetti
(Html.div
[ Attributes.style "position" "absolute"
[ Attributes.style "position" "fixed"
, Attributes.style "top" "0"
, Attributes.style "left" "0"
, Attributes.style "width" "100%"