Skip to content

Commit

Permalink
pagination polished
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcin Horosz committed Jun 28, 2011
1 parent 69a9efb commit 4f36f9f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions app/views/layouts/translator.html.erb
Expand Up @@ -387,6 +387,13 @@ body { padding-top: 20px; padding-bottom: 20px}
border-radius: 2px;
}

.button.small {
padding: 0px 4px;
line-height: 16px;
height: 16px;
font-size: 10px;
}

.button:hover {
background: #ddd;
border-color: #888;
Expand Down
2 changes: 1 addition & 1 deletion app/views/translator/translations/index.html.erb
Expand Up @@ -42,7 +42,7 @@
<% unless @total_pages < 2 %>
<% (1..@total_pages).each do |p| %>
<%= link_to_unless_current p, translations_path(:show => params[:show], :page => p) %>
<%= link_to_unless_current p, translations_path(:show => params[:show], :page => p), :class => "button small" %>
<% end %>
<% end %>
</div>
Expand Down

0 comments on commit 4f36f9f

Please sign in to comment.