mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-12-01 07:45:22 +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 : { body : String, language : Maybe String } -> Element msg
|
||||||
codeBlock details =
|
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.html
|
||||||
|> Element.el [ Element.width Element.fill ]
|
|> Element.el [ Element.width Element.fill ]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user