Skip to content

Commit fb0ab31

Browse files
committed
Fixed video size for Firefox.
1 parent fe0e753 commit fb0ab31

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

hideout-frontend/src/Views/About.elm

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -172,13 +172,14 @@ what_is_hideout model =
172172
[ Element.paddingEach { top = 20, bottom = 0, left = 0, right = 0 } ]
173173
[ Element.text "Here's a video demo:" ]
174174
, Element.el
175-
[ -- TODO: Hardcoded width. Element.maximum doesn't auto-resize here.
176-
Element.width <| Element.maximum 520 Element.fill
177-
, Element.paddingEach { top = 30, bottom = 0, left = 0, right = 0 }
175+
[ Element.paddingEach { top = 30, bottom = 0, left = 0, right = 0 }
178176
] <|
179177
Element.html <|
180178
Html.video
181-
[ Html.Attributes.controls True ]
179+
[ Html.Attributes.controls True
180+
, Html.Attributes.width 520
181+
, Html.Attributes.height 292
182+
]
182183
[ Html.source
183184
[ Html.Attributes.src "/static/videos/intro.mp4"
184185
, Html.Attributes.type_

0 commit comments

Comments
 (0)