From 6ea3d7983e483eaed808e998384ec58c133d3c54 Mon Sep 17 00:00:00 2001 From: Albert Yi Date: Tue, 10 Jul 2018 14:35:35 -0700 Subject: [PATCH] add normalization for deviantart artist urls --- app/assets/stylesheets/specific/z_responsive.scss | 10 +++++----- app/views/posts/partials/index/_posts.html.erb | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/assets/stylesheets/specific/z_responsive.scss b/app/assets/stylesheets/specific/z_responsive.scss index db27cbcce..3b68f51dd 100644 --- a/app/assets/stylesheets/specific/z_responsive.scss +++ b/app/assets/stylesheets/specific/z_responsive.scss @@ -174,14 +174,14 @@ .user-disable-cropped-false { article { - width: 32vw; - height: 32vw; - margin: 0 auto; + width: 150px; + height: 150px; + margin: 5px; } img { - width: 32vw; - height: 32vw; + width: 150px; + height: 150px; } } diff --git a/app/views/posts/partials/index/_posts.html.erb b/app/views/posts/partials/index/_posts.html.erb index 9f069d045..e3e014082 100644 --- a/app/views/posts/partials/index/_posts.html.erb +++ b/app/views/posts/partials/index/_posts.html.erb @@ -1,4 +1,4 @@ -
+
<%= post_set.presenter.post_previews_html(self) %>