Repository: spark Updated Branches: refs/heads/branch-2.4 b698bd46f -> ac9a6f08a
[SPARK-25741][WEBUI] Long URLs are not rendered properly in web UI ## What changes were proposed in this pull request? When the URL for description column in the table of job/stage page is long, WebUI doesn't render it properly.  Both job and stage page are using the class `name-link` for the description URL, so change the style of `a.name-link` to fix it. ## How was this patch tested? Manual test on my local:  Closes #22744 from gengliangwang/fixUILink. Authored-by: Gengliang Wang <[email protected]> Signed-off-by: Sean Owen <[email protected]> (cherry picked from commit 1901f06211661c19d70f231db235cca3cdb1f2dd) Signed-off-by: Sean Owen <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/spark/repo Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/ac9a6f08 Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/ac9a6f08 Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/ac9a6f08 Branch: refs/heads/branch-2.4 Commit: ac9a6f08a19e1896cb6aa123b567cc5c2ffe9067 Parents: b698bd4 Author: Gengliang Wang <[email protected]> Authored: Wed Oct 17 09:51:41 2018 -0500 Committer: Sean Owen <[email protected]> Committed: Wed Oct 17 09:53:07 2018 -0500 ---------------------------------------------------------------------- core/src/main/resources/org/apache/spark/ui/static/webui.css | 4 ++++ 1 file changed, 4 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/spark/blob/ac9a6f08/core/src/main/resources/org/apache/spark/ui/static/webui.css ---------------------------------------------------------------------- diff --git a/core/src/main/resources/org/apache/spark/ui/static/webui.css b/core/src/main/resources/org/apache/spark/ui/static/webui.css index 4b060b0..266eeec 100644 --- a/core/src/main/resources/org/apache/spark/ui/static/webui.css +++ b/core/src/main/resources/org/apache/spark/ui/static/webui.css @@ -88,6 +88,10 @@ a.kill-link { float: right; } +a.name-link { + word-wrap: break-word; +} + span.expand-details { font-size: 10pt; cursor: pointer; --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
