Skip to content
Snippets Groups Projects
Commit cdf613fc authored by Reynold Xin's avatar Reynold Xin
Browse files

[SPARK-2320] Reduce exception/code block font size in web ui

Author: Reynold Xin <rxin@apache.org>

Closes #1261 from rxin/ui-pre-size and squashes the following commits:

7ab1a69 [Reynold Xin] [SPARK-2320] Reduce exception/code block font size in web ui
parent 2053d793
No related branches found
No related tags found
No related merge requests found
...@@ -95,6 +95,10 @@ span.expand-details { ...@@ -95,6 +95,10 @@ span.expand-details {
float: right; float: right;
} }
pre {
font-size: 0.8em;
}
.stage-details { .stage-details {
max-height: 100px; max-height: 100px;
overflow-y: auto; overflow-y: auto;
......
...@@ -168,7 +168,7 @@ private[ui] class FailedStageTable( ...@@ -168,7 +168,7 @@ private[ui] class FailedStageTable(
override protected def stageRow(s: StageInfo): Seq[Node] = { override protected def stageRow(s: StageInfo): Seq[Node] = {
val basicColumns = super.stageRow(s) val basicColumns = super.stageRow(s)
val failureReason = <td valign="middle">{s.failureReason.getOrElse("")}</td> val failureReason = <td valign="middle"><pre>{s.failureReason.getOrElse("")}</pre></td>
basicColumns ++ failureReason basicColumns ++ failureReason
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment