mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-12-04 06:47:16 +03:00
💀 remove the sliding out footer
This commit is contained in:
parent
c8e245629c
commit
ccc610b898
@ -127,7 +127,7 @@ summarize panels current =
|
|||||||
|
|
||||||
|
|
||||||
viewModal : Config msg -> State -> Summary -> Html msg
|
viewModal : Config msg -> State -> Summary -> Html msg
|
||||||
viewModal config ((State { previousPanel }) as state) summary =
|
viewModal config (State { previousPanel }) summary =
|
||||||
let
|
let
|
||||||
currentPanel =
|
currentPanel =
|
||||||
[ viewIcon summary.current.icon
|
[ viewIcon summary.current.icon
|
||||||
@ -161,15 +161,8 @@ viewModal config ((State { previousPanel }) as state) summary =
|
|||||||
[ span [ Html.Styled.Attributes.id (panelId panelView) ] [ Html.text panelView.title ]
|
[ span [ Html.Styled.Attributes.id (panelId panelView) ] [ Html.text panelView.title ]
|
||||||
]
|
]
|
||||||
, viewContent panelView.content
|
, viewContent panelView.content
|
||||||
, viewFlexibleFooter
|
|
||||||
{ buttonLabel = panelView.buttonLabel
|
|
||||||
, buttonMsg = ()
|
|
||||||
, buttonState = Button.Disabled
|
|
||||||
}
|
|
||||||
[ InactiveDisabled () "" ]
|
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|> Tuple.mapSecond (Html.map (\_ -> config.parentMsg state))
|
|
||||||
, ( panelId summary.current
|
, ( panelId summary.current
|
||||||
, panelContainer config.height [ Slide.animateIn direction ] currentPanel
|
, panelContainer config.height [ Slide.animateIn direction ] currentPanel
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user