Skip to content

Commit

Permalink
[#448] nav-simples now is same as body text
Browse files Browse the repository at this point in the history
  • Loading branch information
johnmartin committed Feb 25, 2013
1 parent ec06a69 commit 2204584
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
Binary file modified ckan/public/base/images/nav-active.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 4 additions & 2 deletions ckan/public/base/less/nav.less
Expand Up @@ -5,6 +5,8 @@

.nav-item > a {
color: @navLinkColor;
font-size: @baseFontSize;
line-height: @baseLineHeight;
margin: -7px -@gutterX;
padding: 7px @gutterX;
}
Expand All @@ -27,8 +29,8 @@
top: 0;
right: -6px;
width: 6px;
height: 28px;
background-image: url("@{imagePath}/nav-active.png");
height: 34px;
background-image: url("@{imagePath}/nav-active.png?1");
}
}

Expand Down
4 changes: 2 additions & 2 deletions ckan/templates/user/dashboard.html
Expand Up @@ -30,10 +30,10 @@ <h2 class="module-heading">
{{ _('My Datasets') }}
</h2>
{% if c.user_dict['datasets'] %}
<ul class="nav nav-list">
<ul class="nav nav-simple">
{% for package in c.user_dict['datasets'] %}
{% set title = package.title or package.name %}
<li>
<li class="nav-item">
{{ h.link_to(h.truncate(title, 80), h.url_for(controller='package', action='read', id=package.name)) }}
</li>
{% endfor %}
Expand Down

0 comments on commit 2204584

Please sign in to comment.