diff --git a/app/javascript/src/styles/common/recent_posts.scss b/app/javascript/src/styles/common/recent_posts.scss new file mode 100644 index 000000000..b302f842b --- /dev/null +++ b/app/javascript/src/styles/common/recent_posts.scss @@ -0,0 +1,9 @@ +/* A small set of recent posts. Used for recent uploads and favorites on user + * profile pages, and recent posts on artist and wiki pages. */ +div.recent-posts { + margin-bottom: 1rem; + + h2.recent-posts-header { + margin-bottom: 0.25rem; + } +} diff --git a/app/javascript/src/styles/specific/users.scss b/app/javascript/src/styles/specific/users.scss index 954d665f5..fdaf705e1 100644 --- a/app/javascript/src/styles/specific/users.scss +++ b/app/javascript/src/styles/specific/users.scss @@ -1,9 +1,5 @@ div#c-users { div#a-show { - div.box { - margin-bottom: 2em; - } - table.user-statistics { th { width: 15%; diff --git a/app/views/artists/_show.html.erb b/app/views/artists/_show.html.erb index 8a00e1bf6..b6fae3244 100644 --- a/app/views/artists/_show.html.erb +++ b/app/views/artists/_show.html.erb @@ -22,11 +22,13 @@ <% if @artist.tag.present? && @artist.tag.post_count > 0 %>