Browse Source

AMBARI-3339 Dashboard: Classic view shows the graphs on the bottom, rather than to the right when the screen is wide (ababiichuk)

aBabiichuk 12 years ago
parent
commit
a9da5b0c22

+ 4 - 0
ambari-web/app/styles/application.less

@@ -4109,6 +4109,10 @@ i.icon-asterisks {
     width: 1130px;
   }
 
+  .main-container {
+    width: 1170px;
+  }
+
   .span12 {
     width: 1170px;
   }

+ 2 - 2
ambari-web/app/templates/application.hbs

@@ -20,7 +20,7 @@
   <div id="top-nav">
     <div class="navbar navbar-static-top">
       <div class="navbar-inner">
-        <div class="container">
+        <div class="container main-container">
           <a {{translateAttr href="topnav.logo.href"}} class="logo" target="_blank"><img src="/img/logo.png" alt="Apache Ambari" title="Apache Ambari"></a>
           <a class="brand" {{translateAttr href="topnav.logo.href"}} target="_blank" alt="Apache Ambari" title="Apache Ambari">{{t app.name}}</a>
 
@@ -53,7 +53,7 @@
       </div>
     </div>
   </div>
-  <div class="container">
+  <div class="container main-container">
     <div id="content">
       {{outlet}}
     </div>