mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-11-13 07:48:26 +03:00
Separate the example code sections
This commit is contained in:
parent
fbc9ee61ec
commit
215eb970c3
@ -128,7 +128,14 @@ codeSampleHeading =
|
||||
viewCodeDetails : Html msg -> { sectionName : String, code : String } -> Html msg
|
||||
viewCodeDetails ellieLink example =
|
||||
details
|
||||
[ css [ marginTop (px 10) ] ]
|
||||
[ css
|
||||
[ paddingTop (px 5)
|
||||
, paddingBottom (px 5)
|
||||
, borderBottom3 (px 1) solid Colors.gray45
|
||||
, firstOfType [ marginTop (px 10) ]
|
||||
, lastChild [ borderWidth zero, paddingBottom zero ]
|
||||
]
|
||||
]
|
||||
[ summary [ css [ color Colors.yellow ] ]
|
||||
[ Heading.h3
|
||||
[ Heading.css [ display inline, color Colors.yellow ]
|
||||
|
Loading…
Reference in New Issue
Block a user