Skip to content

Commit 31ea413

Browse files
committed
zoom fix; pdf link addition
1 parent 5c655f6 commit 31ea413

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

app/views/admin/agenda_item_tags/_tags.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
data-tag-typeahead-target="input"
2424
data-action="input->tag-typeahead#onInput keydown->tag-typeahead#onKeydown"
2525
placeholder="Add tag..."
26-
class="px-2 py-1 sm:py-0.5 text-sm sm:text-xs border border-gray-300 rounded-md focus:outline-none focus:ring-1 focus:ring-indigo-500 focus:border-indigo-500 w-32 sm:w-24"
26+
class="px-2 py-1 sm:py-0.5 text-base sm:text-xs border border-gray-300 rounded-md focus:outline-none focus:ring-1 focus:ring-indigo-500 focus:border-indigo-500 w-32 sm:w-24"
2727
autocomplete="off" />
2828
<ul data-tag-typeahead-target="dropdown"
2929
class="hidden absolute z-10 mt-1 w-56 sm:w-48 bg-white border border-gray-200 rounded-md shadow-lg max-h-48 sm:max-h-40 overflow-auto text-sm sm:text-xs left-0">

app/views/admin/agenda_items/untagged.html.erb

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,14 @@
9595
<% if item.file_number.present? %>
9696
<span class="bg-gray-100 text-gray-600 px-1.5 py-0.5 rounded"><%= item.file_number %></span>
9797
<% end %>
98+
<% if item.url.present? %>
99+
<%= link_to item.url, target: "_blank", rel: "noopener noreferrer", class: "inline-flex items-center gap-0.5 text-blue-600 hover:text-blue-800 font-medium" do %>
100+
<svg class="h-3 w-3" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">
101+
<path stroke-linecap="round" stroke-linejoin="round" d="M19.5 14.25v-2.625a3.375 3.375 0 00-3.375-3.375h-1.5A1.125 1.125 0 0113.5 7.125v-1.5a3.375 3.375 0 00-3.375-3.375H8.25m2.25 0H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 00-9-9z" />
102+
</svg>
103+
PDF
104+
<% end %>
105+
<% end %>
98106
<% if item.result.present? %>
99107
<span class="bg-blue-50 text-blue-600 px-1.5 py-0.5 rounded"><%= item.result.titleize %></span>
100108
<% end %>

0 commit comments

Comments
 (0)