mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-11-30 23:06:10 +03:00
Remove extra space surrounding code-editors.
This commit is contained in:
parent
7e89615409
commit
539e37adf7
@ -251,7 +251,11 @@ code snippet =
|
||||
|
||||
codeBlock : { body : String, language : Maybe String } -> Element msg
|
||||
codeBlock details =
|
||||
Html.node "code-editor" [ editorValue details.body ] []
|
||||
Html.node "code-editor"
|
||||
[ editorValue details.body
|
||||
, Html.Attributes.style "white-space" "normal"
|
||||
]
|
||||
[]
|
||||
|> Element.html
|
||||
|> Element.el [ Element.width Element.fill ]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user