Skip to content

Commit 336dcee

Browse files
committed
Signature newline
1 parent 050b905 commit 336dcee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Code/Definition/Source.elm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import Code.Definition.Type as Type exposing (TypeSource)
1616
import Code.FullyQualifiedName as FQN exposing (FQN)
1717
import Code.Source.SourceViewConfig as SourceViewConfig exposing (SourceViewConfig)
1818
import Code.Syntax as Syntax
19-
import Html exposing (Html, pre, span, text)
19+
import Html exposing (Html, div, pre, span, text)
2020
import Html.Attributes exposing (class)
2121
import UI
2222

@@ -128,7 +128,7 @@ viewNamedTermSignature_ viewConfig termName (TermSignature syntax) =
128128

129129
syntax_ =
130130
if rawLength > 80 then
131-
span [] [ text "\n ", viewSyntax viewConfig syntax ]
131+
div [] [ viewSyntax viewConfig syntax ]
132132

133133
else
134134
viewSyntax viewConfig syntax

0 commit comments

Comments
 (0)