Skip to content

Commit

Permalink
Combine .app-main and #main turbo-frame
Browse files Browse the repository at this point in the history
  • Loading branch information
spohlenz committed Sep 19, 2024
1 parent 9550a12 commit c1a4544
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions app/views/layouts/trestle/admin.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,9 @@
<div class="app-container">
<%= render "trestle/shared/header" %>

<main class="app-main">
<turbo-frame id="main" data-turbo-action="advance">
<%= yield %>
</turbo-frame>
</main>
<turbo-frame class="app-main" id="main" data-turbo-action="advance">
<%= yield %>
</turbo-frame>

<%= render "trestle/shared/footer" %>
</div>
Expand Down

0 comments on commit c1a4544

Please sign in to comment.