mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-12-01 09:12:33 +03:00
Use css helper rather than Button.custom
This commit is contained in:
parent
a2c393ad25
commit
1dd1bebdb3
@ -56,10 +56,8 @@ example parentMessage state =
|
||||
[ viewSettings state
|
||||
, Button.button "Launch Info Modal"
|
||||
[ Button.onClick (InfoModalMsg (Modal.open "launch-info-modal"))
|
||||
, Button.custom
|
||||
[ Html.Styled.Attributes.id "launch-info-modal"
|
||||
, css [ Css.important (Css.marginRight (Css.px 16)) ]
|
||||
]
|
||||
, Button.custom [ Html.Styled.Attributes.id "launch-info-modal" ]
|
||||
, Button.css [ Css.marginRight (Css.px 16) ]
|
||||
, Button.secondary
|
||||
, Button.medium
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user