From 2820a3a5e69e953138e967da28fd97c8f6960e91 Mon Sep 17 00:00:00 2001 From: Thomas Forgione Date: Sun, 4 Oct 2020 15:28:05 +0200 Subject: [PATCH] Better sizes --- src/Views.elm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Views.elm b/src/Views.elm index e0a81f7..63ac877 100644 --- a/src/Views.elm +++ b/src/Views.elm @@ -228,16 +228,16 @@ videoMiniatureView zone playlist video = videoInList : Time.Zone -> Twitch.Video -> Element Core.Msg videoInList zone video = Element.row [ Element.width Element.fill, Element.spacing 10 ] - [ Element.el [ Element.width (Element.fillPortion 1) ] + [ Element.el [ Element.width (Element.fillPortion 2) ] (videoMiniature video) - , Element.el [ Element.width (Element.fillPortion 2), Element.paddingXY 0 10, Element.alignTop ] + , Element.el [ Element.width (Element.fillPortion 3), Element.paddingXY 0 10, Element.alignTop ] (videoDescription zone video) ] videoView : Time.Zone -> Twitch.Playlist -> Twitch.Video -> Element Core.Msg videoView zone playlist video = - Element.row [ Element.padding 10, Element.width Element.fill, Element.spacing 20 ] + Element.row [ Element.padding 10, Element.width Element.fill, Element.spacing 10 ] [ Element.column [ Element.spacing 10, Element.width (Element.fillPortion 2) ] [ Element.image [ Element.width Element.fill ] { description = "", src = Twitch.videoMiniatureUrl video }