From bcd5e3656a3e697df67273fbc59aa423ba0c77f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A5kon=20Rosseb=C3=B8?= Date: Fri, 25 Mar 2016 00:58:07 +0100 Subject: [PATCH] Updates Icon usage to handle separate Icon size Style values --- examples/Demo/Badges.elm | 2 +- src/Material/Layout.elm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/Demo/Badges.elm b/examples/Demo/Badges.elm index ea720ef..6b0fdb3 100644 --- a/examples/Demo/Badges.elm +++ b/examples/Demo/Badges.elm @@ -24,6 +24,6 @@ view = [ div [][p [][] , styled span [Badge.withBadge "Δ"] [ ] [ text "Span with HTML symbol - Delta" ] , p [][] , span [][text "Icon with badge"] - , Icon.view "face" [Icon.iconSize Icon.S24, Badge.withBadge "33", Badge.overlap ] [] + , Icon.view "face" [Icon.size24, Badge.withBadge "33", Badge.overlap ] [] ] ] \ No newline at end of file diff --git a/src/Material/Layout.elm b/src/Material/Layout.elm index b9a5434..97dac5d 100644 --- a/src/Material/Layout.elm +++ b/src/Material/Layout.elm @@ -264,7 +264,7 @@ tabsView addr model tabs = , ("mdl-layout__tab-bar-" ++ direction ++ "-button", True) ] ] - [ Icon.view ("chevron_" ++ direction) [Icon.iconSize Icon.S] + [ Icon.view ("chevron_" ++ direction) [Icon.size24] [onClick addr (ScrollTab offset)] -- TODO: Scroll event ]