aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorKousuke Saruta <sarutak@oss.nttdata.co.jp>2015-01-16 12:19:08 -0800
committerAndrew Or <andrew@databricks.com>2015-01-16 12:19:08 -0800
commitecf943d35342191a1362d80bb26f2a098c152f27 (patch)
treeb8e8b1afbbf4099f5bcf164590094e8bca873755 /core
parente8422c521bc76bc4b03c337605f136403ea9f64a (diff)
downloadspark-ecf943d35342191a1362d80bb26f2a098c152f27.tar.gz
spark-ecf943d35342191a1362d80bb26f2a098c152f27.tar.bz2
spark-ecf943d35342191a1362d80bb26f2a098c152f27.zip
[WebUI] Fix collapse of WebUI layout
When we decrease the width of browsers, the header of WebUI wraps and collapses like as following image. ![2015-01-11 19 49 37](https://cloud.githubusercontent.com/assets/4736016/5698887/b0b9aeee-99cd-11e4-9020-08f3f0014de0.png) Author: Kousuke Saruta <sarutak@oss.nttdata.co.jp> Closes #3995 from sarutak/fixed-collapse-webui-layout and squashes the following commits: 3e60b5b [Kousuke Saruta] Modified line-height property in webui.css 7bfb5fb [Kousuke Saruta] Merge branch 'master' of git://git.apache.org/spark into fixed-collapse-webui-layout 5d83e18 [Kousuke Saruta] Fixed collapse of WebUI layout
Diffstat (limited to 'core')
-rw-r--r--core/src/main/resources/org/apache/spark/ui/static/webui.css7
1 files changed, 4 insertions, 3 deletions
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 5751964b79..f02b035a98 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
@@ -19,6 +19,7 @@
height: 50px;
font-size: 15px;
margin-bottom: 15px;
+ min-width: 1200px
}
.navbar .navbar-inner {
@@ -39,12 +40,12 @@
.navbar .nav > li a {
height: 30px;
- line-height: 30px;
+ line-height: 2;
}
.navbar-text {
height: 50px;
- line-height: 50px;
+ line-height: 3.3;
}
table.sortable thead {
@@ -170,7 +171,7 @@ span.additional-metric-title {
}
.version {
- line-height: 30px;
+ line-height: 2.5;
vertical-align: bottom;
font-size: 12px;
padding: 0;