mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-12-02 23:52:22 +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 ((State { previousPanel }) as state) summary =
|
||||
viewModal config (State { previousPanel }) summary =
|
||||
let
|
||||
currentPanel =
|
||||
[ 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 ]
|
||||
]
|
||||
, viewContent panelView.content
|
||||
, viewFlexibleFooter
|
||||
{ buttonLabel = panelView.buttonLabel
|
||||
, buttonMsg = ()
|
||||
, buttonState = Button.Disabled
|
||||
}
|
||||
[ InactiveDisabled () "" ]
|
||||
]
|
||||
)
|
||||
|> Tuple.mapSecond (Html.map (\_ -> config.parentMsg state))
|
||||
, ( panelId summary.current
|
||||
, panelContainer config.height [ Slide.animateIn direction ] currentPanel
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user