Better sizes
This commit is contained in:
parent
5872e50493
commit
2820a3a5e6
|
@ -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 }
|
||||
|
|
Loading…
Reference in New Issue