From 783a09c59eb6b15326872d60381cfc33103669ec Mon Sep 17 00:00:00 2001 From: Brittny Lapierre Date: Mon, 6 Nov 2023 11:58:12 -0500 Subject: [PATCH] Layout improvements --- app/components/blacklight/document_component.html.erb | 2 +- app/views/layouts/catalog_result.html.erb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/components/blacklight/document_component.html.erb b/app/components/blacklight/document_component.html.erb index 091802742..95cbc1e2f 100644 --- a/app/components/blacklight/document_component.html.erb +++ b/app/components/blacklight/document_component.html.erb @@ -11,7 +11,7 @@ <% if body.present? %> <%= body %> <% else %> -
+

<%= title %> <% if @component.to_s == 'div' %> diff --git a/app/views/layouts/catalog_result.html.erb b/app/views/layouts/catalog_result.html.erb index cab1bde5a..e846629fd 100644 --- a/app/views/layouts/catalog_result.html.erb +++ b/app/views/layouts/catalog_result.html.erb @@ -2,9 +2,9 @@ <% content_for(:content) do %>
- <%= content_for(:sidebar) %> - <%= yield %> + <%= content_for(:sidebar) %>
+ <%= yield %>
<% end %> <%= render template: "layouts/blacklight/base" %>