diff --git a/app/views/catalog/_accordion_section_library.html.erb b/app/views/catalog/_accordion_section_library.html.erb
index 193cb87e1..6158ef7d0 100644
--- a/app/views/catalog/_accordion_section_library.html.erb
+++ b/app/views/catalog/_accordion_section_library.html.erb
@@ -13,7 +13,7 @@
<%= snippet %>
-
+
<% if document.holdings.present? %>
<% document.holdings.libraries.select(&:present?).each do |library| %>
<%= render SearchResult::LocationComponent.new(library:, document:) %>
diff --git a/spec/views/catalog/_accordion_section_library.html.erb_spec.rb b/spec/views/catalog/_accordion_section_library.html.erb_spec.rb
index 5afcac69c..92d9ec2cd 100644
--- a/spec/views/catalog/_accordion_section_library.html.erb_spec.rb
+++ b/spec/views/catalog/_accordion_section_library.html.erb_spec.rb
@@ -23,7 +23,7 @@
expect(rendered).to have_css('.accordion-section.location')
expect(rendered).to have_css('.accordion-section.location button.header[aria-expanded="false"]', text: "Check availability")
expect(rendered).to have_css('.accordion-section.location span.snippet', text: "Green Library")
- expect(rendered).to have_css('.accordion-section .details[aria-expanded="false"]')
+ expect(rendered).to have_css('.accordion-section .details')
expect(rendered).to have_css('.accordion-section .details tbody tr', count: 2)
expect(rendered).to have_css('.accordion-section .details tbody tr th', text: /Stacks/)
expect(rendered).to have_css('.accordion-section .details tbody tr td', text: /ABC 123/)