diff --git a/Gemfile.lock b/Gemfile.lock index 701715d6d..0edc44c2e 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,6 +1,6 @@ GIT remote: https://github.com/basecamp/actiontext-lexical - revision: 7f327ddd60f4902ac60bb426495e85b31b6f0ad2 + revision: 0aa2564ed17775662dcff8d83a02d0c0be294628 specs: actiontext-lexical (0.1.0) rails (>= 8.0.2) diff --git a/app/views/active_storage/blobs/web/_representation.html.erb b/app/views/active_storage/blobs/web/_representation.html.erb index 2931e2099..7b1106367 100644 --- a/app/views/active_storage/blobs/web/_representation.html.erb +++ b/app/views/active_storage/blobs/web/_representation.html.erb @@ -7,6 +7,7 @@ src: rails_blob_path(blob), controls: true, preload: :none, + style: "aspect-ratio: #{width} / #{height};", width: width, height: height %> <% elsif blob.audio? %>