Explorar o código

Starred boards show markdown at the top starred line

- Fixes: #4058
Martin Filser %!s(int64=3) %!d(string=hai) anos
pai
achega
437b62eb97
Modificáronse 2 ficheiros con 10 adicións e 1 borrados
  1. 2 1
      client/components/main/header.jade
  2. 8 0
      client/components/main/header.styl

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

@@ -49,7 +49,8 @@ template(name="header")
           each currentUser.starredBoards
             li(class="{{#if $.Session.equals 'currentBoard' _id}}current{{/if}}")
               a(href="{{pathFor 'board' id=_id slug=slug}}")
-                = title
+                +viewer
+                  = title
           else
             li.current.empty {{_ 'quick-access-description'}}
 

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

@@ -135,6 +135,14 @@
         padding: 12px 10px
         margin: -10px 0px
 
+        .viewer
+          display: inline
+          white-space: nowrap
+
+          p
+            display: inline
+            white-space: nowrap
+
       &.current
         color: darken(white, 5%)