diff --git a/app/helpers/boxes_helper.rb b/app/helpers/boxes_helper.rb
index 06026b7..cb844cf 100644
--- a/app/helpers/boxes_helper.rb
+++ b/app/helpers/boxes_helper.rb
@@ -10,7 +10,7 @@ module BoxesHelper
else
content_tag('div',
content_tag('div',
- content_tag('div', content, :class => 'no-boxes-inner-2'),
+ content_tag('div', wrap_main_content(content), :class => 'no-boxes-inner-2'),
:class => 'no-boxes-inner-1'
),
:class => 'no-boxes'
diff --git a/app/views/shared/access_denied.rhtml b/app/views/shared/access_denied.rhtml
index 8af1d38..0d3a084 100644
--- a/app/views/shared/access_denied.rhtml
+++ b/app/views/shared/access_denied.rhtml
@@ -1,6 +1,5 @@
- <% noosfero_wrap do %>
<%= @title || _('Access denied') %>
<% unless @message.nil? %>
@@ -15,6 +14,5 @@
<%= button :home, _('Go to the site home page'), :controller => 'home' %>
<% end %>
- <% end %>
diff --git a/app/views/shared/not_found.rhtml b/app/views/shared/not_found.rhtml
index a444706..4dd44d1 100644
--- a/app/views/shared/not_found.rhtml
+++ b/app/views/shared/not_found.rhtml
@@ -1,5 +1,4 @@
- <% noosfero_wrap do %>
<%= _('There is no such page: %s') % (content_tag('tt', @path)) %>
<%= _('You may have clicked an expired link or mistyped the address.') %>
@@ -9,5 +8,4 @@
<%= button :back, _('Go back'), :back %>
<%= button :home, _('Go to %s home page') % environment.name, :controller => 'home' %>
<% end %>
- <% end %>
diff --git a/public/designs/themes/base/style.css b/public/designs/themes/base/style.css
index 0beb69c..be35490 100644
--- a/public/designs/themes/base/style.css
+++ b/public/designs/themes/base/style.css
@@ -773,7 +773,7 @@ X.sep {
width: 48%;
}
-.controller-search #content .no-boxes h1 {
+#content .no-boxes h1 {
font-variant: small-caps;
color: #555753;
font-size: 18px;
diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css
index 868a99a..5df818a 100644
--- a/public/stylesheets/application.css
+++ b/public/stylesheets/application.css
@@ -454,8 +454,6 @@ div.pending-tasks {
#content #not-found,
#content #access-denied {
-moz-border-radius: 6px;
- margin-left: 20%;
- margin-right: 20%;
}
#content #not-found p,
@@ -3006,12 +3004,8 @@ h1#agenda-title {
display: inline;
}
-.controller-profile .no-boxes {
- margin: 0px 260px 0px 260px;
-}
-
-.controller-profile #content .no-boxes h1 {
- margin: 1px 0px 1px 160px;
+.no-boxes {
+ margin: 0px 200px 0px 200px;
}
.controller-profile #content .no-boxes h1,
--
libgit2 0.21.2