diff --git a/assets/css/style.css b/assets/css/style.css index 16468bf..19a9d45 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -51,7 +51,7 @@ a { } .header { - width:600px; + width:720px; height:30px; border:1px solid #888; border-radius:5px; diff --git a/templates/Header._ b/templates/Header._ index a28bcf5..9d345d4 100644 --- a/templates/Header._ +++ b/templates/Header._ @@ -5,8 +5,7 @@ TileStream <% obj.breadcrumb && _(obj.breadcrumb).each(function(item) { %> - <% if (item.icon) { %><% } %> - <%= item.title %> + <%= item.title.length > 20 ? item.title.substring(0, 17) + '...' : item.title %> <% }); %>