mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-11-28 10:17:49 +03:00
Add classes to the module examples to make axe output more readable
This commit is contained in:
parent
4125826ef4
commit
ff9e670166
@ -124,7 +124,10 @@ categoryForDisplay category =
|
||||
view : Bool -> ModuleExample msg -> Html msg
|
||||
view showFocusLink { name, content } =
|
||||
Html.div
|
||||
[]
|
||||
[ String.replace "." "-" name
|
||||
|> (++) "module-example__"
|
||||
|> Attributes.class
|
||||
]
|
||||
[ Html.styled Html.div
|
||||
[ display block
|
||||
, backgroundColor glacier
|
||||
|
Loading…
Reference in New Issue
Block a user