From 757797b803f8d72f12a017c3e11a3b018a5aa290 Mon Sep 17 00:00:00 2001 From: Thomas Forgione Date: Sun, 4 Oct 2020 18:03:09 +0200 Subject: [PATCH] Fix aspect ratio --- src/Views.elm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Views.elm b/src/Views.elm index 3170404..99f3c30 100644 --- a/src/Views.elm +++ b/src/Views.elm @@ -266,7 +266,7 @@ videoView zone playlist video = [ Keyed.el [ Element.width Element.fill , 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") ] ( video.url