Pārlūkot izejas kodu

Header, Home-Button is now at the left of the Quick Access and not scrolled anymore

Martin Filser 4 gadi atpakaļ
vecāks
revīzija
54a55a4a23

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

@@ -7,11 +7,11 @@ template(name="header")
   if currentUser
   if currentUser
     #header-quick-access(class=currentBoard.colorClass)
     #header-quick-access(class=currentBoard.colorClass)
       if isMiniScreen
       if isMiniScreen
-        ul
-          li
-            a(href="{{pathFor 'home'}}")
-              span.fa.fa-home
+        span
+          a(href="{{pathFor 'home'}}")
+            span.fa.fa-home
 
 
+        ul
           if currentList
           if currentList
             each currentBoard.lists
             each currentBoard.lists
               li(class="{{#if $.Session.equals 'currentList' _id}}current{{/if}}")
               li(class="{{#if $.Session.equals 'currentList' _id}}current{{/if}}")

+ 3 - 1
client/components/main/header.styl

@@ -205,9 +205,11 @@
           padding: 12px 10px
           padding: 12px 10px
           margin: -10px 0px
           margin: -10px 0px
 
 
-        .fa-home
+    span
+      .fa-home
           font-size: 26px
           font-size: 26px
           margin-top: -2px
           margin-top: -2px
+          margin-right: 5px
 
 
     #header-new-board-icon
     #header-new-board-icon
       display: none
       display: none