mirror of
https://github.com/correl/elm-mdl.git
synced 2024-12-18 03:00:11 +00:00
Updates Icon usage to handle separate Icon size Style values
This commit is contained in:
parent
1ad2eb9d3f
commit
bcd5e3656a
2 changed files with 2 additions and 2 deletions
|
@ -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 ] []
|
||||
]
|
||||
]
|
|
@ -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
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue