Explorar o código

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

Xi Wang %!s(int64=10) %!d(string=hai) anos
pai
achega
eb3f9cf74e
Modificáronse 1 ficheiros con 3 adicións e 4 borrados
  1. 3 4
      ambari-web/app/styles/enhanced_service_dashboard.less

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

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