From 8c8ea407f62da1e97b27b254155590adec6d94e5 Mon Sep 17 00:00:00 2001 From: alexdbondoc17 Date: Wed, 2 Mar 2022 05:35:05 +0000 Subject: [PATCH] Add `margin-bottom` for `annotations` --- .../doctrine_index_component.html.erb | 2 +- .../document_doctrine_index_component.html.erb | 2 +- .../document_doctrine_show_component.html.erb | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/components/doctrine_index_component/doctrine_index_component.html.erb b/app/components/doctrine_index_component/doctrine_index_component.html.erb index a3e6b0f..8e84a94 100644 --- a/app/components/doctrine_index_component/doctrine_index_component.html.erb +++ b/app/components/doctrine_index_component/doctrine_index_component.html.erb @@ -8,7 +8,7 @@ <% annotations.each do |annotation| %> -

+

<% annotated_documents_title = [] %> <% annotation.documents.each do |annotated_document| %> <% ad_title = annotated_document.short_title || annotated_document.title %> diff --git a/app/components/document_doctrine_show_component/document_doctrine_show_component.html.erb b/app/components/document_doctrine_show_component/document_doctrine_show_component.html.erb index 9756e97..c1bcb73 100644 --- a/app/components/document_doctrine_show_component/document_doctrine_show_component.html.erb +++ b/app/components/document_doctrine_show_component/document_doctrine_show_component.html.erb @@ -100,7 +100,7 @@ <% end %> <% citing_document_title = [document_title, annotation.document.reference_number, date_or_year, annotation.phil_rep, annotated_documents_title].reject(&:blank?).join(', ').html_safe %> -

+

<%= "#{annotation.annomarks.map { |annomark| "(#{annomark.code})" }.join(" ")}" %> @@ -118,7 +118,7 @@

<% if annotation.editor_notes.present? %> -
+
Editors Note: