mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-11-05 08:34:38 +03:00
remove padding on the tab panel
(but keep a liiiiittle spacing above Nri.Ui.Panels so they don't touch the tabs)
This commit is contained in:
parent
a4c2a54d2d
commit
fd66f171bd
@ -307,14 +307,14 @@ panelContent pageBackgroundColor_ id panelName =
|
||||
|> List.Extra.splitAt id
|
||||
|> (\( beforeSplit, afterSplit ) -> afterSplit ++ beforeSplit)
|
||||
in
|
||||
Html.div [ css [ Css.padding2 (Css.px 20) (Css.px 10) ] ]
|
||||
Html.div []
|
||||
(List.concat
|
||||
[ List.map
|
||||
(\( title, content ) ->
|
||||
Panel.view
|
||||
[ Panel.header title
|
||||
, Panel.paragraph content
|
||||
, Panel.containerCss [ Css.marginBottom (Css.px 30) ]
|
||||
, Panel.containerCss [ Css.margin2 (Css.px 10) Css.zero ]
|
||||
]
|
||||
)
|
||||
pangrams
|
||||
|
Loading…
Reference in New Issue
Block a user