app/views/lookbook/components/_preview.html.erb in lookbook-0.5.0.beta.1 vs app/views/lookbook/components/_preview.html.erb in lookbook-0.5.0.beta.2
- old
+ new
@@ -7,10 +7,10 @@
<div class="grid bg-white relative grid-cols-[1fr_17px] grid-rows-[1fr_17px] -inset-px" style="width: calc(100% + 2px); height: calc(100% + 2px)">
<iframe seamless
class="h-full w-full border border-gray-300"
:class="{ 'pointer-events-none': $store.layout.reflowing }"
- src="<%= url_for lookbook.preview_path %>"
+ src="<%= lookbook.preview_path(request.query_parameters) %>"
<% if config.preview_srcdoc %>srcdoc="<%== srcdoc %>"<% end %>
frameborder="0"
x-data="sizes"
x-effect="preview.width = width; preview.height = height;"
></iframe>
\ No newline at end of file