Repository: ambari Updated Branches: refs/heads/trunk 16683c435 -> fb03976ad
AMBARI-11318. In Graph widget Preview the second line title is hidden partially.(xiwang) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/fb03976a Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/fb03976a Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/fb03976a Branch: refs/heads/trunk Commit: fb03976ade5342f3482b46f5c8bc4553fd4dae44 Parents: 16683c4 Author: Xi Wang <[email protected]> Authored: Thu May 21 14:18:35 2015 -0700 Committer: Xi Wang <[email protected]> Committed: Thu May 21 16:50:55 2015 -0700 ---------------------------------------------------------------------- ambari-web/app/styles/enhanced_service_dashboard.less | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/fb03976a/ambari-web/app/styles/enhanced_service_dashboard.less ---------------------------------------------------------------------- diff --git a/ambari-web/app/styles/enhanced_service_dashboard.less b/ambari-web/app/styles/enhanced_service_dashboard.less index d8aa843..f6a4e53 100644 --- a/ambari-web/app/styles/enhanced_service_dashboard.less +++ b/ambari-web/app/styles/enhanced_service_dashboard.less @@ -80,6 +80,10 @@ height: 40px; overflow: hidden; text-overflow: ellipsis; + -webkit-line-clamp: 2; + -webkit-box-orient: vertical; + display: block; + display: -webkit-box; } .content { text-align: center; @@ -158,9 +162,6 @@ display: none; } .graph-widget { - .title { - height: 0; - } .chart-container { cursor: default; }
