Skip to content

Commit a7fa716

Browse files
committed
Add body height style
1 parent f13930a commit a7fa716

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/GrammarExplorer.elm

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
module GrammarExplorer exposing (main)
22

33
import Http
4-
import Html exposing (Html, button, div, input, label, programWithFlags, text, textarea)
4+
import Html exposing (Html, button, div, input, label, node, programWithFlags, text, textarea)
55
import Html.Attributes exposing (style, type_, value)
66
import Html.Events exposing (onClick, onInput)
77
import Json.Decode as JD
@@ -208,7 +208,8 @@ inputStyle =
208208
view : Model -> Html Msg
209209
view model =
210210
div [ style appStyle ]
211-
[ div [ style loaderStyle ]
211+
[ node "style" [] [ text "body { height: 100% }" ]
212+
, div [ style loaderStyle ]
212213
[ div []
213214
[ label [ style labelStyle ] [ text "Parser service URL" ]
214215
, input

0 commit comments

Comments
 (0)