mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-11-05 08:34:38 +03:00
add some padding to the doodad in the catalog
This commit is contained in:
parent
4f9dea20ff
commit
ebff3f4475
@ -167,29 +167,31 @@ example =
|
||||
}
|
||||
]
|
||||
}
|
||||
, Tabs.view
|
||||
{ focusAndSelect = FocusAndSelectTab
|
||||
, selected = model.selected
|
||||
}
|
||||
(List.filterMap identity
|
||||
[ Just (Tabs.alignment settings.alignment)
|
||||
, Maybe.map Tabs.title settings.title
|
||||
, Maybe.map Tabs.spacing settings.customSpacing
|
||||
, Maybe.map (Tabs.pageBackgroundColor << colorToCss) settings.pageBackgroundColor
|
||||
, Maybe.map (Tabs.fadeToPanelBackgroundColor << colorToCss) settings.fadeToPanelBackgroundColor
|
||||
, Maybe.map
|
||||
(\stickiness ->
|
||||
case stickiness of
|
||||
Default ->
|
||||
Tabs.tabListSticky
|
||||
, Html.div [ css [ Css.padding (Css.px 20) ] ]
|
||||
[ Tabs.view
|
||||
{ focusAndSelect = FocusAndSelectTab
|
||||
, selected = model.selected
|
||||
}
|
||||
(List.filterMap identity
|
||||
[ Just (Tabs.alignment settings.alignment)
|
||||
, Maybe.map Tabs.title settings.title
|
||||
, Maybe.map Tabs.spacing settings.customSpacing
|
||||
, Maybe.map (Tabs.pageBackgroundColor << colorToCss) settings.pageBackgroundColor
|
||||
, Maybe.map (Tabs.fadeToPanelBackgroundColor << colorToCss) settings.fadeToPanelBackgroundColor
|
||||
, Maybe.map
|
||||
(\stickiness ->
|
||||
case stickiness of
|
||||
Default ->
|
||||
Tabs.tabListSticky
|
||||
|
||||
Custom stickyConfig ->
|
||||
Tabs.tabListStickyCustom stickyConfig
|
||||
)
|
||||
settings.stickiness
|
||||
]
|
||||
)
|
||||
(List.map Tuple.second tabs)
|
||||
Custom stickyConfig ->
|
||||
Tabs.tabListStickyCustom stickyConfig
|
||||
)
|
||||
settings.stickiness
|
||||
]
|
||||
)
|
||||
(List.map Tuple.second tabs)
|
||||
]
|
||||
]
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user