From 82918320658c58b13ce665613b9fc7b0b34a0185 Mon Sep 17 00:00:00 2001 From: Young Hahn Date: Thu, 2 Jun 2011 12:34:52 -0400 Subject: [PATCH] More space in the header. --- assets/css/style.css | 2 +- templates/Header._ | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) 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 %> <% }); %>