Skip to content
Snippets Groups Projects
Commit 32824488 authored by Eugen Rochko's avatar Eugen Rochko
Browse files

Fix #86 - resolve layout breaking on zoom-out on accounts grid

parent c3e9ba6a
No related branches found
No related tags found
No related merge requests found
......@@ -283,8 +283,6 @@
}
.name {
width: 333-20-60-15px;
float: left;
padding-top: 10px;
a {
......
......@@ -49,13 +49,13 @@ class ApplicationController < ActionController::Base
def not_found
respond_to do |format|
format.any { head 404 }
format.any { head 404 }
end
end
def gone
respond_to do |format|
format.any { head 410 }
format.any { head 410 }
end
end
......
......@@ -20,12 +20,12 @@
.counter{ class: active_nav_class(account_url(@account)) }
= link_to account_url(@account) do
%span.counter-label= t('accounts.posts')
%span.counter-number= @account.statuses.count
%span.counter-number= number_with_delimiter @account.statuses.count
.counter{ class: active_nav_class(following_account_url(@account)) }
= link_to following_account_url(@account) do
%span.counter-label= t('accounts.following')
%span.counter-number= @account.following.count
%span.counter-number= number_with_delimiter @account.following.count
.counter{ class: active_nav_class(followers_account_url(@account)) }
= link_to followers_account_url(@account) do
%span.counter-label= t('accounts.followers')
%span.counter-number= @account.followers.count
%span.counter-number= number_with_delimiter @account.followers.count
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment