Skip to content

Commit

Permalink
code block in unordered list no scrollbar if unnecessary
Browse files Browse the repository at this point in the history
  • Loading branch information
lue-bird committed Oct 21, 2023
1 parent 7e9820d commit 68288d3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Main.elm
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,7 @@ articleContentUi =
Element.WithContext.paragraph
[ Html.Attributes.style "overflow-wrap" "break-word"
|> Element.WithContext.htmlAttribute
, Element.WithContext.width Element.WithContext.fill
]
(parts |> List.map paragraphPartUi)

Expand Down Expand Up @@ -400,6 +401,7 @@ articleContentUi =
Articles.Sequence contentList ->
Element.WithContext.column
[ Element.WithContext.spacing 22
, Element.WithContext.width Element.WithContext.fill
]
(contentList |> List.map articleContentUi)

Expand Down

0 comments on commit 68288d3

Please sign in to comment.