Skip to content
This repository has been archived by the owner on Aug 23, 2018. It is now read-only.

Prevent error messages from overflowing to the left. #225

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/pages/Errors.elm
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ view model =
, "min-height" => "100%"
, "display" => "flex"
, "flex-direction" => "column"
, "align-items" => "center"
, "background-color" => "black"
, "color" => "rgb(233, 235, 235)"
, "font-family" => "monospace"
Expand All @@ -65,6 +64,7 @@ view model =
, "white-space" => "pre"
, "background-color" => "rgb(39, 40, 34)"
, "padding" => "2em"
, "margin" => "0 auto"
]
]
(addColors model)
Expand Down Expand Up @@ -149,4 +149,4 @@ processLine line =
[ colorful "#9A9A9A" (starter ++ "|")
, marker
, colorful "#9A9A9A" (String.dropLeft 1 restOfLine)
]
]