You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by xi...@apache.org on 2015/06/21 21:55:48 UTC
[2/2] ambari git commit: AMBARI-12034. Template widget: content in
two lines get overlapped.(xiwang)
AMBARI-12034. Template widget: content in two lines get overlapped.(xiwang)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/c015b7de
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/c015b7de
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/c015b7de
Branch: refs/heads/branch-2.1
Commit: c015b7de0e3ee7a7d064c278e6d771695e74a5eb
Parents: 1a19419
Author: Xi Wang <xi...@apache.org>
Authored: Fri Jun 19 17:03:42 2015 -0700
Committer: Xi Wang <xi...@apache.org>
Committed: Sun Jun 21 12:56:12 2015 -0700
----------------------------------------------------------------------
.../app/styles/enhanced_service_dashboard.less | 15 ++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/c015b7de/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 8745604..a734361 100644
--- a/ambari-web/app/styles/enhanced_service_dashboard.less
+++ b/ambari-web/app/styles/enhanced_service_dashboard.less
@@ -101,7 +101,20 @@
font-size: 35px;
width: 95%;
}
- .template-widget,
+ .template-widget {
+ .frame;
+ .content {
+ padding-top: 21px;
+ height: 75px;
+ line-height: 36px;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ -webkit-line-clamp: 2;
+ -webkit-box-orient: vertical;
+ display: block;
+ display: -webkit-box;
+ }
+ }
.number-widget {
.frame;
.content {