Skip to content

Add custom color highlighting for nested Turbo Frames #33

@lirtistan

Description

@lirtistan

Hi,

nested turbo frames should have a differnt color so we can distinguish there boundings.

<div class="w-75 mx-auto mt-9">
	<%= turbo_frame_tag "foo" do %>
		<p>stuff in "foo" frame</p>
		<%= turbo_frame_tag "bar" do %>
			<p>some stuff in inner "bar" frame</p>
		<% end %>
	<% end %>
</div>

looks actually like this...

Screenshot from 2024-06-10 19-30-19

Actually i don't know how hard it is to implement, but maybe in a future version, that whould be a nice feature.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions