From d6069e8c90a32d09028aa378e7098d41cac5d89e Mon Sep 17 00:00:00 2001 From: Arpit Jalan Date: Tue, 28 Jul 2015 13:32:39 +0530 Subject: [PATCH] UX: fix container layout --- app/controllers/application_controller.rb | 2 +- app/views/application/_header.html.erb | 2 +- app/views/layouts/application.html.erb | 2 +- app/views/layouts/crawler.html.erb | 2 +- app/views/layouts/no_ember.html.erb | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 7e48c5c45da..2da6bcdfbad 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -434,7 +434,7 @@ class ApplicationController < ActionController::Base def build_not_found_page(status=404, layout=false) category_topic_ids = Category.pluck(:topic_id).compact - @container_class = "container not-found-container" + @container_class = "wrap not-found-container" @top_viewed = Topic.where.not(id: category_topic_ids).top_viewed(10) @recent = Topic.where.not(id: category_topic_ids).recent(10) @slug = params[:slug].class == String ? params[:slug] : '' diff --git a/app/views/application/_header.html.erb b/app/views/application/_header.html.erb index 7129203bcaa..a179dbc0c82 100644 --- a/app/views/application/_header.html.erb +++ b/app/views/application/_header.html.erb @@ -1,5 +1,5 @@
-
+
diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 479ee1f5a72..a7402890357 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -38,7 +38,7 @@