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:
Juan Edi 2023-04-05 15:15:47 -03:00
parent a4c2a54d2d
commit fd66f171bd

View File

@ -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