app/views/lookbook/previews/panels/_preview.html.erb in lookbook-1.1.1 vs app/views/lookbook/previews/panels/_preview.html.erb in lookbook-1.2.0
- old
+ new
@@ -1,6 +1,9 @@
-<%= lookbook_render :viewport,
- src: lookbook_preview_path(request.query_parameters.merge(lookbook_timestamp: Time.now)),
- alpine_data: "$store.inspector.main",
- class: "-inset-px relative",
- style: "width: calc(100% + 2px); height: calc(100% + 2px)"
- %>
+<div class="overflow-hidden h-full w-full">
+ <%= lookbook_render :viewport,
+ iframe_id: "preview-iframe",
+ src: lookbook_preview_path(request.query_parameters.merge(lookbook_timestamp: Time.now)),
+ alpine_data: "$store.inspector.main",
+ class: "-inset-px relative",
+ style: "width: calc(100% + 2px); height: calc(100% + 2px)"
+ %>
+</div>
\ No newline at end of file