mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2025-01-03 12:02:19 +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
|
||||
text "Nice! The messages were dismissed. 👍"
|
||||
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
|
||||
, Heading.h3 [] [ text "Message.view" ]
|
||||
, orDismiss <|
|
||||
Html.table [ css [ width (pct 100) ] ]
|
||||
[ 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
|
||||
]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user