diff --git a/app/views/templates_share_link_qr/show.html.erb b/app/views/templates_share_link_qr/show.html.erb index 62fbd757..322be0c2 100644 --- a/app/views/templates_share_link_qr/show.html.erb +++ b/app/views/templates_share_link_qr/show.html.erb @@ -26,7 +26,7 @@ container-type: size; width: min(100vw, <%= page_width %>); max-width: 100%; - aspect-ratio: <%= format('%.6f / %.6f', page_width_css, page_height_css) %>; + aspect-ratio: <%= format('%.6f / %.6f', width: page_width_css, height: page_height_css) %>; margin: 24px auto; }