Skip to content

Commit cdf613f

Browse files
committed
[SPARK-2320] Reduce exception/code block font size in web ui
Author: Reynold Xin <[email protected]> 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
1 parent 2053d79 commit cdf613f

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

core/src/main/resources/org/apache/spark/ui/static/webui.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,10 @@ span.expand-details {
9595
float: right;
9696
}
9797

98+
pre {
99+
font-size: 0.8em;
100+
}
101+
98102
.stage-details {
99103
max-height: 100px;
100104
overflow-y: auto;

core/src/main/scala/org/apache/spark/ui/jobs/StageTable.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ private[ui] class FailedStageTable(
168168

169169
override protected def stageRow(s: StageInfo): Seq[Node] = {
170170
val basicColumns = super.stageRow(s)
171-
val failureReason = <td valign="middle">{s.failureReason.getOrElse("")}</td>
171+
val failureReason = <td valign="middle"><pre>{s.failureReason.getOrElse("")}</pre></td>
172172
basicColumns ++ failureReason
173173
}
174174
}

0 commit comments

Comments
 (0)