Ver código fonte

AMBARI-11816. Graphical widgets for legend and discription width not match.(xiwang)

Xi Wang 10 anos atrás
pai
commit
eb3f9cf74e

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

@@ -237,8 +237,7 @@
       background: rgba(255,255,255, 0.7);
     }
   }
-  .thumbnail .chart-legend ul {
-    max-width: 300px;
+  .thumbnail .chart-legend {
     .description-line {
       padding: 3px 3px 8px 8px;
       line-height: 16px;
@@ -246,7 +245,7 @@
       font-weight: bold;
       word-wrap: break-word;
       white-space: pre-wrap;
-      overflow: scroll;
+      overflow-y: scroll;
     }
   }
 }
@@ -258,7 +257,7 @@
   font-weight: bold;
   word-wrap: break-word;
   white-space: pre-wrap;
-  overflow: scroll;
+  overflow-y: scroll;
 }
 
 #edit-widget-wizard,