diff --git a/app/assets/stylesheets/errbit.css b/app/assets/stylesheets/errbit.css index cf384dd..adf0fea 100644 --- a/app/assets/stylesheets/errbit.css +++ b/app/assets/stylesheets/errbit.css @@ -162,11 +162,17 @@ a.action { float: right; font-size: 0.9em;} /* Content Title and Comments */ #content-title, #content-comments { - padding: 43px 24px 37px; + padding: 30px 24px; border-top: 1px solid #FFF; border-bottom: 1px solid #FFF; background-color: #f2f2f2; } + +/* Make err title bar bigger to fit more buttons */ +#content-title.err_show { + padding: 43px 24px 37px; +} + #content-comments { background-color: #ffffff; } diff --git a/app/views/errs/show.html.haml b/app/views/errs/show.html.haml index 0e7de08..58395c3 100644 --- a/app/views/errs/show.html.haml +++ b/app/views/errs/show.html.haml @@ -1,4 +1,5 @@ - content_for :page_title, @problem.message +- content_for :title_css_class, 'err_show' - content_for :title, @problem.error_class || truncate(@problem.message, :length => 32) - content_for :meta do %strong App: diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml index d3b8ec5..b9e699a 100644 --- a/app/views/layouts/application.html.haml +++ b/app/views/layouts/application.html.haml @@ -18,7 +18,7 @@ = render 'shared/navigation' if current_user = render 'shared/session' #content-wrapper - #content-title + #content-title{ :class => (yield :title_css_class).to_s } %h1= yield :title %span.meta= yield :meta - if (action_bar = yield(:action_bar)).present? -- libgit2 0.21.2