Browse Source

AMBARI-9688. Some markup issues when window size is reduced. (onechiporenko)

Oleg Nechiporenko 10 years ago
parent
commit
45716f1628

+ 8 - 2
ambari-web/app/styles/application.less

@@ -4512,10 +4512,16 @@ ul.inline li {
         }
       }
 
+      .col5,
+      td:first-child + td + td + td + td + td,
+      th:first-child + th + th + th + th + th {
+        width: 13%!important;
+      }
+
       .col6,
       td:first-child + td + td + td + td + td + td,
       th:first-child + th + th + th + th + th + th{
-        width: 12%!important;
+        width: 10%!important;
       }
 
       .col7,
@@ -4527,7 +4533,7 @@ ul.inline li {
       .col8,
       td:first-child + td + td + td + td + td + td + td + td,
       th:first-child + th + th + th + th + th + th + th + th{
-        width: 11%!important;
+        width: 10%!important;
       }
       .col9,
       td:first-child + td + td + td + td + td + td + td + td + td,

+ 2 - 2
ambari-web/app/templates/main/dashboard.hbs

@@ -17,11 +17,11 @@
 }}
 
 <div class="row-fluid">
-  <div class="services-menu well span2" style="padding: 8px 0">
+  <div class="services-menu well span2 service-menu-width" style="padding: 8px 0">
     {{view App.MainServiceMenuView}}
     {{view App.AllServicesActionView}}
   </div>
-    <div class="span10" id="dashboard-widgets-container">
+    <div class="summary-width span10" id="dashboard-widgets-container">
       <ul class="nav nav-tabs">
         {{#each category in view.categories}}
           {{#view view.NavItemView itemBinding="category.name" }}