mirror of
https://github.com/rickbarrette/simple-aircraft-manager-rails.git
synced 2026-11-17 23:50:36 -05:00
Consistency and accessibility: one date/time format, lang, skip link, focus outlines, alt text, labelled icons, contrast; release notes updated
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
191eb030e8
commit
215efe6814
56 files changed
+146
-97
No files matched your search
@@ -11,7 +11,7 @@
|
||||
</div>
|
||||
<div class="flex justify-center rounded bg-slate-50 p-2">
|
||||
<% if current.image? %>
|
||||
<%= image_tag rails_blob_path(current, disposition: :inline), class: "max-h-[80vh] max-w-full" %>
|
||||
<%= image_tag rails_blob_path(current, disposition: :inline), alt: current.filename.to_s, class: "max-h-[80vh] max-w-full" %>
|
||||
<% elsif current.content_type == "application/pdf" %>
|
||||
<iframe src="<%= rails_blob_path(current, disposition: :inline) %>" class="h-[80vh] w-full"></iframe>
|
||||
<% else %>
|
||||
|
||||
Reference in new issue
Block a user