Skip to content

Commit 565801f

Browse files
author
Andrew Or
committed
Clean up code
In particular, the code that draws the cluster labels now takes into account of the specific font-size of the label. Also, less important functions are now grouped to the end to make it clear that they should not be given as much attention. This makes the code easier to follow.
1 parent 9dab5f0 commit 565801f

File tree

4 files changed

+174
-126
lines changed

4 files changed

+174
-126
lines changed

core/src/main/resources/org/apache/spark/ui/static/spark-dag-viz.css

-2
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@
5858

5959
#dag-viz-graph svg.job g.cluster text {
6060
fill: #AAAAAA;
61-
font-size: 11px;
6261
}
6362

6463
/* Stage page specific styles */
@@ -80,6 +79,5 @@
8079

8180
#dag-viz-graph svg.stage g.cluster text {
8281
fill: #444444;
83-
font-size: 14px;
8482
font-weight: bold;
8583
}

0 commit comments

Comments
 (0)