mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2025-01-05 13:12:16 +03:00
Adjust the example to make it more clear what the debug controls actually control
This commit is contained in:
parent
3b86bb15b3
commit
f22342e8e5
@ -199,9 +199,10 @@ example =
|
|||||||
else
|
else
|
||||||
text "Nice! The messages were dismissed. 👍"
|
text "Nice! The messages were dismissed. 👍"
|
||||||
in
|
in
|
||||||
[ Control.view UpdateControl state.control
|
[ Heading.h3 [ Heading.css [ Css.marginBottom (Css.px 20) ] ]
|
||||||
|
[ text "Message.view" ]
|
||||||
|
, Control.view UpdateControl state.control
|
||||||
|> Html.fromUnstyled
|
|> Html.fromUnstyled
|
||||||
, Heading.h3 [] [ text "Message.view" ]
|
|
||||||
, orDismiss <|
|
, orDismiss <|
|
||||||
Html.table [ css [ width (pct 100) ] ]
|
Html.table [ css [ width (pct 100) ] ]
|
||||||
[ Html.tbody []
|
[ Html.tbody []
|
||||||
@ -219,7 +220,14 @@ example =
|
|||||||
]
|
]
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
, Heading.h3 [] [ text "Message.somethingWentWrong" ]
|
, Heading.h3
|
||||||
|
[ Heading.css
|
||||||
|
[ Css.marginTop (Css.px 20)
|
||||||
|
, Css.borderTop3 (Css.px 2) Css.solid Colors.gray96
|
||||||
|
, Css.paddingTop (Css.px 20)
|
||||||
|
]
|
||||||
|
]
|
||||||
|
[ text "Message.somethingWentWrong" ]
|
||||||
, Message.somethingWentWrong exampleRailsError
|
, Message.somethingWentWrong exampleRailsError
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user