add comment ID to output

master
Brian Hicks 2020-02-17 19:56:13 -06:00
parent 63543e367b
commit ed73050dc9
2 changed files with 2 additions and 3 deletions

View File

@ -11,7 +11,7 @@ type alias Comment =
view : Comment -> Html msg
view { height } =
view { height, id } =
Html.div
[ Attrs.style "width" "150px"
, Attrs.style "height" (String.fromInt height ++ "px")
@ -19,4 +19,4 @@ view { height } =
, Attrs.style "border-radius" "10px"
, Attrs.style "background-color" "white"
]
[]
[ Html.text (String.fromInt id) ]

View File

@ -32,7 +32,6 @@ init { heights, attachments, margin } =
, positions = attachments
, margin = margin
}
|> Debug.log "initial"
positions : Model -> Dict Int Float