Skip to content

Commit

Permalink
update setting ui and change it to be on one page
Browse files Browse the repository at this point in the history
  • Loading branch information
3x1io committed Dec 22, 2023
1 parent a7ed797 commit cf06ecf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions resources/views/components/dropdown-item.blade.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@if($type === 'button')
<button class="p-3 border-b border-gray-200 dark:border-gray-700 hover:bg-gray-200 dark:hover:bg-gray-900" {{ $attributes }} {{ $attributes->class([
<button class="p-3 border-b border-gray-100 dark:border-gray-700 hover:bg-gray-100 dark:hover:bg-gray-900" {{ $attributes }} {{ $attributes->class([
'text-black' => $black,
'text-danger-500' => $danger,
'text-warning-500' => $warning,
Expand All @@ -16,7 +16,7 @@
</div>
</button>
@elseif($type === 'link')
<x-splade-link class="p-3 border-b border-gray-200 dark:border-gray-700 hover:bg-gray-200 dark:hover:bg-gray-900" {{ $attributes }} {{ $attributes->class([
<x-splade-link class="p-3 border-b border-gray-100 dark:border-gray-700 hover:bg-gray-100 dark:hover:bg-gray-900" {{ $attributes }} {{ $attributes->class([
'text-black' => $black,
'text-danger-500' => $danger,
'text-warning-500' => $warning,
Expand All @@ -33,7 +33,7 @@
</div>
</x-splade-link>
@elseif($type === 'copy')
<x-tomato-admin-copy class="p-3 border-b border-gray-200 dark:border-gray-700 hover:bg-gray-200 dark:hover:bg-gray-900" {{ $attributes }} {{ $attributes->class([
<x-tomato-admin-copy class="p-3 border-b border-gray-100 dark:border-gray-700 hover:bg-gray-100 dark:hover:bg-gray-900" {{ $attributes }} {{ $attributes->class([
'text-black' => $black,
'text-danger-500' => $danger,
'text-warning-500' => $warning,
Expand Down
3 changes: 2 additions & 1 deletion resources/views/layouts/app.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ class="
@foreach(\TomatoPHP\TomatoAdmin\Facade\TomatoSlot::getLayoutTop() as $item)
@include($item)
@endforeach
@isset($header)
<header
class="mb-4 items-start justify-between space-y-2 filament-header sm:flex sm:space-y-0 sm:space-v-4 sm:rtl:space-v-reverse sm:py-4">
<div>
Expand All @@ -67,7 +68,7 @@ class="mb-4 items-start justify-between space-y-2 filament-header sm:flex sm:spa
@endif
</div>
</header>

@endif
<!-- SLOT -->
{{$slot}}

Expand Down

0 comments on commit cf06ecf

Please sign in to comment.