app/components/lookbook/inspector_panel/component.html.erb in lookbook-1.0.8 vs app/components/lookbook/inspector_panel/component.html.erb in lookbook-1.1.0
- old
+ new
@@ -1,6 +1,8 @@
<%= render_component_tag :div, class: "h-full" do %>
- <% if panel_styles %>
- <% content_for :panel_css do %><%= panel_styles %><% end %>
- <% end %>
<%= panel_html %>
+<% end %>
+
+<% if panel_styles %>
+ <% content_for :user_styles do %><%= panel_styles %>
+ <% end %>
<% end %>
\ No newline at end of file