From 681b2caa4d5df132cdf5dfd74a305b0612c07f40 Mon Sep 17 00:00:00 2001 From: Spencer Wilson Date: Wed, 28 Sep 2016 22:18:46 -0700 Subject: [PATCH] Fix overflow and position CSS in Errors.elm --- src/pages/Errors.elm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/pages/Errors.elm b/src/pages/Errors.elm index daeb93a..8743290 100644 --- a/src/pages/Errors.elm +++ b/src/pages/Errors.elm @@ -50,14 +50,14 @@ view : Model -> Html msg view model = div [ style - [ "width" => "100%" - , "min-height" => "100%" + [ "min-height" => "100%" , "display" => "flex" , "flex-direction" => "column" , "align-items" => "center" , "background-color" => "black" , "color" => "rgb(233, 235, 235)" , "font-family" => "monospace" + , "overflow" => "auto" ] ] [ div @@ -66,6 +66,8 @@ view model = , "white-space" => "pre" , "background-color" => "rgb(39, 40, 34)" , "padding" => "2em" + , "margin-left" => "auto" + , "margin-right" => "auto" ] ] (addColors model)