app/views/spina/admin/attachments/_attachment.html.erb in spina-2.11.0 vs app/views/spina/admin/attachments/_attachment.html.erb in spina-2.12.0
- old
+ new
@@ -7,21 +7,21 @@
<div class="absolute h-full opacity-0 group-hover:opacity-100 flex items-center right-0 pr-3 top-0">
<%= form_with model: attachment, url: spina.admin_attachment_path(attachment), data: {turbo_frame: dom_id(attachment), controller: "form loading-button", loading_message: t('spina.media_library.uploading'), action: "turbo:submit-end->loading-button#doneLoading"} do |f| %>
<%= f.file_field :file, id: "attachment_#{attachment.id}_file_field", class: 'hidden', data: {action: "loading-button#loading form#requestSubmit"} %>
<button type="button" class="btn btn-default h-7 px-2 mr-2 text-xs" data-controller="delegate-click" data-action="delegate-click#click" data-loading-button-target="button" data-delegate-click-target="#attachment_<%= attachment.id %>_file_field">
- <%= heroicon("upload", style: :solid, class: "w-4 h-4 mr-1 text-gray-600") %>
+ <%= heroicon("arrow-path", style: :mini, class: "w-4 h-4 mr-1 text-gray-600") %>
<%=t 'spina.ui.replace' %>
</button>
<% end %>
<%= link_to spina.edit_admin_attachment_path(attachment), class: "btn btn-default h-7 px-2 mr-2 text-xs" do %>
- <%= heroicon('pencil', style: :solid, class: 'w-4 h-4 mr-1 text-gray-600') %>
+ <%= heroicon('pencil', style: :solid, class: 'w-3 h-3 mr-1 text-gray-600') %>
<%=t 'spina.ui.rename' %>
<% end %>
<%= link_to file_url(attachment.file), class: "btn btn-default h-7 px-2 mr-2 text-xs" do %>
- <%= heroicon('download', style: :solid, class: 'w-4 h-4 mr-1 text-gray-600') %>
+ <%= heroicon('download', style: :mini, class: 'w-4 h-4 mr-1 text-gray-600') %>
<%=t 'spina.attachments.download' %>
<% end %>
</div>
</turbo-frame>
\ No newline at end of file