diff --git a/public/style.css b/public/style.css index 9f56a8c..490a7b9 100644 --- a/public/style.css +++ b/public/style.css @@ -9,6 +9,10 @@ body { max-height: calc(100vh - 20px); } +.column .panel.draft, .column .panel.options { + min-height: 0; +} + .timeline { overflow-y: auto; overflow-x: hidden; diff --git a/src/View/Draft.elm b/src/View/Draft.elm index 56bf246..6938ae2 100644 --- a/src/View/Draft.elm +++ b/src/View/Draft.elm @@ -151,7 +151,7 @@ draftView ({ draft, currentUser } as model) = limitExceeded = charCount > 500 in - div [ class "panel panel-default" ] + div [ class "panel panel-default draft" ] [ div [ class "panel-heading" ] [ Common.icon "envelope" , text <| diff --git a/src/View/Settings.elm b/src/View/Settings.elm index eae8c76..12d5417 100644 --- a/src/View/Settings.elm +++ b/src/View/Settings.elm @@ -9,7 +9,7 @@ import View.Common as Common settingsView : Model -> Html Msg settingsView model = - div [ class "panel panel-default" ] + div [ class "panel panel-default options" ] [ div [ class "panel-heading" ] [ Common.icon "cog", text "options" ] , div [ class "panel-body" ] [ div [ class "checkbox" ]