Skip to content

Commit f79c1cf

Browse files
committed
[Minor] Use <sup> tag for help icon in web UI page header
This small commit makes the `(?)` web UI help link into a superscript, which should address feedback that the current design makes it look like an error occurred or like information is missing. Before: ![image](https://cloud.githubusercontent.com/assets/50748/5370611/a3ed0034-7fd9-11e4-870f-05bd9faad5b9.png) After: ![image](https://cloud.githubusercontent.com/assets/50748/5370602/6c5ca8d6-7fd9-11e4-8d1a-568d71290aa7.png) Author: Josh Rosen <[email protected]> Closes #3659 from JoshRosen/webui-help-sup and squashes the following commits: bd72899 [Josh Rosen] Use <sup> tag for help icon in web UI page header.
1 parent 9bd9334 commit f79c1cf

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

core/src/main/scala/org/apache/spark/ui/UIUtils.scala

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,9 @@ private[spark] object UIUtils extends Logging {
181181
</li>
182182
}
183183
val helpButton: Seq[Node] = helpText.map { helpText =>
184-
<a data-toggle="tooltip" data-placement="bottom" title={helpText}>(?)</a>
184+
<sup>
185+
(<a data-toggle="tooltip" data-placement="bottom" title={helpText}>?</a>)
186+
</sup>
185187
}.getOrElse(Seq.empty)
186188

187189
<html>

0 commit comments

Comments
 (0)