Browse Source

AMBARI-11318. In Graph widget Preview the second line title is hidden partially.(xiwang)

Xi Wang 10 years ago
parent
commit
fb03976ade
1 changed files with 4 additions and 3 deletions
  1. 4 3
      ambari-web/app/styles/enhanced_service_dashboard.less

+ 4 - 3
ambari-web/app/styles/enhanced_service_dashboard.less

@@ -80,6 +80,10 @@
       height: 40px;
       height: 40px;
       overflow: hidden;
       overflow: hidden;
       text-overflow: ellipsis;
       text-overflow: ellipsis;
+      -webkit-line-clamp: 2;
+      -webkit-box-orient: vertical;
+      display: block;
+      display: -webkit-box;
     }
     }
     .content {
     .content {
       text-align: center;
       text-align: center;
@@ -158,9 +162,6 @@
       display: none;
       display: none;
     }
     }
     .graph-widget {
     .graph-widget {
-      .title {
-        height: 0;
-      }
       .chart-container {
       .chart-container {
         cursor: default;
         cursor: default;
       }
       }