Skip to content

Commit

Permalink
Adding default container around the app layout
Browse files Browse the repository at this point in the history
  • Loading branch information
tnylea committed Feb 18, 2024
1 parent 57fbcbc commit ca321ea
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion stubs/class/resources/views/components/layouts/app.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
</header>
@endif

{{ $slot }}
<div class="mx-auto mt-5 max-w-7xl">
<div class="sm:px-6 lg:px-8">
{{ $slot }}
</div>
</div>

</x-layouts.main>
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
</header>
@endif

{{ $slot }}
<div class="mx-auto mt-5 max-w-7xl">
<div class="sm:px-6 lg:px-8">
{{ $slot }}
</div>
</div>

</x-layouts.main>

0 comments on commit ca321ea

Please sign in to comment.