Skip to content

Commit

Permalink
Made Search Sticky
Browse files Browse the repository at this point in the history
  • Loading branch information
MGeurts committed Jan 4, 2025
1 parent a7a3cc1 commit fafca5e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions resources/views/back/people/search.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,5 @@
{{ __('app.search') }}
</x-slot>

<div class="w-full py-5 space-y-5">
<livewire:people.search />
</div>
<livewire:people.search />
</x-app-layout>
2 changes: 1 addition & 1 deletion resources/views/layouts/app.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
@include('layouts.partials.header')

<!-- main content -->
<main class="flex flex-grow px-2 mx-auto">
<main>
{{ $slot }}
</main>

Expand Down
2 changes: 1 addition & 1 deletion resources/views/layouts/partials/header.blade.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<header class="sticky top-0 z-10 w-full shadow-md print:hidden">
<header class="sticky top-0 z-50 w-full shadow-md print:hidden">
{{-- menu --}}
<livewire:navigation-menu />

Expand Down

0 comments on commit fafca5e

Please sign in to comment.