From 1ee3cf8c1dea6a1b392ff47180c6038b36eeb587 Mon Sep 17 00:00:00 2001 From: Jeff Atwood Date: Tue, 8 Jul 2014 15:57:41 -0700 Subject: [PATCH] fix some minor 404 search page issues --- app/assets/stylesheets/desktop/discourse.scss | 10 +++++++++- app/views/exceptions/not_found.html.erb | 4 ++-- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/app/assets/stylesheets/desktop/discourse.scss b/app/assets/stylesheets/desktop/discourse.scss index d9accea9e..128ae2a2c 100644 --- a/app/assets/stylesheets/desktop/discourse.scss +++ b/app/assets/stylesheets/desktop/discourse.scss @@ -146,6 +146,8 @@ body { text-rendering: optimizelegibility; } + /* page not found styles */ + .page-not-found { margin: 20px 0 40px 0; } @@ -154,7 +156,13 @@ body { margin-top: 20px; } - .popular-topics-title, .recent-topics-title {margin-bottom: 10px;} + .popular-topics-title, .recent-topics-title { + margin-bottom: 10px; + } + + .page-not-found-topics .span8 { + line-height: 1.5em; + } // this removes the unwanted top margin on a paragraph under a heading h1+p, h2+p, h3+p, h4+p, h5+p, h6+p { diff --git a/app/views/exceptions/not_found.html.erb b/app/views/exceptions/not_found.html.erb index 20bd3984c..f2160d862 100644 --- a/app/views/exceptions/not_found.html.erb +++ b/app/views/exceptions/not_found.html.erb @@ -3,7 +3,7 @@

<%= t 'page_not_found.title' %>

-
+