diff --git a/src/example/elm/View.elm b/src/example/elm/View.elm index 666008d..9d080f0 100644 --- a/src/example/elm/View.elm +++ b/src/example/elm/View.elm @@ -38,7 +38,7 @@ mobile users = userItem: User -> Html msg userItem user = li [class "collection-item avatar"] - [ img [class "dg-avatar circle", src user.avatar] [] + [ img [class "circle", src user.avatar] [] , span [class "title"] [text user.login] ] @@ -52,8 +52,8 @@ tablet users = userCard : User -> Html msg userCard user = - div [class "col s6 m4 l3"] - [div [class "card small"] + div [class "col s6 m4 l2"] + [div [class "card dg-card"] [ div [class "card-image"] [img [src user.avatar, class "dg-avatar"] [] ] , div [class "card-content"] diff --git a/src/example/scss/main.scss b/src/example/scss/main.scss index 6d5a1b9..380f7be 100644 --- a/src/example/scss/main.scss +++ b/src/example/scss/main.scss @@ -12,7 +12,13 @@ body { } .dg-avatar { - height: 200px; - width: 200px; + width: 100px; + height: 150px; } + + + + + +