From 86b3cfa44b83ca476235dbc3671af9792cc5fcb9 Mon Sep 17 00:00:00 2001 From: r888888888 Date: Sun, 22 Feb 2015 11:41:40 -0800 Subject: [PATCH] iqdb similar queries now show file size --- app/assets/stylesheets/specific/posts.css.scss | 4 ++++ app/views/uploads/_image.html.erb | 16 +++++++++------- 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/app/assets/stylesheets/specific/posts.css.scss b/app/assets/stylesheets/specific/posts.css.scss index 1e76bf736..06d253d2a 100644 --- a/app/assets/stylesheets/specific/posts.css.scss +++ b/app/assets/stylesheets/specific/posts.css.scss @@ -39,6 +39,10 @@ article.post-preview { #iqdb-similar { overflow: hidden; + + .post-preview { + height: 169px; + } } #saved-searches-nav { diff --git a/app/views/uploads/_image.html.erb b/app/views/uploads/_image.html.erb index a81c4e1ce..9ffd9ef1f 100644 --- a/app/views/uploads/_image.html.erb +++ b/app/views/uploads/_image.html.erb @@ -1,13 +1,15 @@ <% if params[:url] %> <%= image_tag(@normalized_url, :title => "Preview", :id => "image") %> - <% if params[:ref] %> -

Referrer: <%= params[:ref] %>

- <% end %> + <% end %>