lindhork 4 anni fa
parent
commit
019520a793

+ 2 - 2
client/components/main/header.jade

@@ -37,7 +37,7 @@ template(name="header")
               img(src="{{currentSetting.customTopLeftCornerLogoImageUrl}}" height="{{#if currentSetting.customTopLeftCornerLogoHeight}}#{currentSetting.customTopLeftCornerLogoHeight}{{else}}27{{/if}}" width="auto" margin="0" padding="0")
               img(src="{{currentSetting.customTopLeftCornerLogoImageUrl}}" height="{{#if currentSetting.customTopLeftCornerLogoHeight}}#{currentSetting.customTopLeftCornerLogoHeight}{{else}}27{{/if}}" width="auto" margin="0" padding="0")
           unless currentSetting.customTopLeftCornerLogoImageUrl
           unless currentSetting.customTopLeftCornerLogoImageUrl
             img(src="{{pathFor '/logo-header.png'}}" alt="")
             img(src="{{pathFor '/logo-header.png'}}" alt="")
-        span
+        span.allBoards
           a(href="{{pathFor 'home'}}")
           a(href="{{pathFor 'home'}}")
             span.fa.fa-home
             span.fa.fa-home
             | {{_ 'all-boards'}}
             | {{_ 'all-boards'}}
@@ -51,7 +51,7 @@ template(name="header")
               a(href="{{pathFor 'board' id=_id slug=slug}}")
               a(href="{{pathFor 'board' id=_id slug=slug}}")
                 = title
                 = title
           else
           else
-            li.current {{_ 'quick-access-description'}}
+            li.current.empty {{_ 'quick-access-description'}}
 
 
       // Next line is used only for spacing at header,
       // Next line is used only for spacing at header,
       // there is no visible clickable icon.
       // there is no visible clickable icon.

+ 6 - 0
client/components/main/header.styl

@@ -102,6 +102,9 @@
   z-index: 21
   z-index: 21
   padding: 10px 0px
   padding: 10px 0px
 
 
+  .allBoards
+      padding: 0 0 0 10px
+
   #header-user-bar,
   #header-user-bar,
   #header-new-board-icon,
   #header-new-board-icon,
   ul li
   ul li
@@ -135,6 +138,9 @@
       &.current
       &.current
         color: darken(white, 5%)
         color: darken(white, 5%)
 
 
+      &.current.empty
+        padding: 12px 10px 12px 10px
+
       &:first-child .fa-home,&:nth-child(3) .fa-globe
       &:first-child .fa-home,&:nth-child(3) .fa-globe
         margin-right: 5px
         margin-right: 5px