Fix scrollbar position

This commit is contained in:
Eike Kettner 2021-03-27 22:04:44 +01:00
parent 03459124ca
commit ff0b70abfe
2 changed files with 27 additions and 25 deletions

View File

@ -34,6 +34,7 @@ viewContent mid _ _ model =
[ id "content" [ id "content"
, class S.content , class S.content
] ]
[ div [ class "container mx-auto" ]
[ div [ class "px-0 flex flex-col" ] [ div [ class "px-0 flex flex-col" ]
[ div [ class "py-4" ] [ div [ class "py-4" ]
[ renderForm model [ renderForm model
@ -64,6 +65,7 @@ viewContent mid _ _ model =
, renderSuccessMsg (Util.Maybe.nonEmpty mid) model , renderSuccessMsg (Util.Maybe.nonEmpty mid) model
, renderUploads model , renderUploads model
] ]
]
renderForm : Model -> Html Msg renderForm : Model -> Html Msg

View File

@ -18,7 +18,7 @@ sidebarMenuItemActive =
content : String content : String
content = content =
"container mx-auto px-2 h-screen-12 overflow-y-auto scrollbar-main scrollbar-thin" "w-full mx-auto px-2 h-screen-12 overflow-y-auto scrollbar-main scrollbar-thin"
sidebarLink : String sidebarLink : String