Skip to content
This repository has been archived by the owner on Jun 25, 2019. It is now read-only.

Commit

Permalink
Monospace test descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
kofigumbs committed Dec 5, 2017
1 parent 815523f commit 8235004
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/View.elm
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,9 @@ code : style -> String -> Element style variations msg
code style str =
node "pre" <|
el style
[ inlineStyle [ ( "white-space", "pre-wrap" ) ]
[ inlineStyle
[ ( "white-space", "pre-wrap" )
, ( "font-family", "monospace" )
]
]
(text str)

0 comments on commit 8235004

Please sign in to comment.