Fix aspect ratio
This commit is contained in:
parent
00381cfcd7
commit
757797b803
|
@ -266,7 +266,7 @@ videoView zone playlist video =
|
||||||
[ Keyed.el
|
[ Keyed.el
|
||||||
[ Element.width Element.fill
|
[ Element.width Element.fill
|
||||||
, Element.height (Element.px 0)
|
, Element.height (Element.px 0)
|
||||||
, Element.htmlAttribute (Html.Attributes.style "padding-top" "56%")
|
, Element.htmlAttribute (Html.Attributes.style "padding-top" "56.25%")
|
||||||
, Element.htmlAttribute (Html.Attributes.style "position" "relative")
|
, Element.htmlAttribute (Html.Attributes.style "position" "relative")
|
||||||
]
|
]
|
||||||
( video.url
|
( video.url
|
||||||
|
|
Loading…
Reference in New Issue