浏览代码

HUE-3281 [core] Fix left nav and page width issues

Johan Ahlen 9 年之前
父节点
当前提交
0f29889

+ 5 - 3
desktop/core/src/desktop/static/desktop/css/responsive.css

@@ -46,7 +46,7 @@ body {
   flex: 0 0 2.5em;
   background-color: #31516a;
   width: 100%;
-  padding: 1em;
+  padding: 1em 0;
 }
 
 .content-wrapper {
@@ -57,7 +57,9 @@ body {
 }
 
 .left-nav {
-  flex: 0 0 0em;
+  flex: 0 0 0;
+  overflow-x: hidden;
+  white-space: nowrap;
   background-color: lightgrey;
   -webkit-transition: 0.4s flex;
   -moz-transition: 0.4s flex;
@@ -108,7 +110,7 @@ h6 {
  * @link https://github.com/jonsuh/hamburgers
  */
 .hamburger {
-  padding: 0.4em 1em 0.4em 0.4em;
+  padding: 0.4em 1em 0.4em 1.4em;
   display: inline-block;
   cursor: pointer;
   transition-property: opacity, -webkit-filter;

+ 1 - 1
desktop/core/src/desktop/templates/responsive.mako

@@ -77,7 +77,7 @@
 
   <div class="content-wrapper">
     <div class="left-nav">
-
+       contents
     </div>
     <div class="page-content">
       <h1>responsive</h1>