fix(database): fix spacing between flush cache and danger sections

Wrap the flush-cache and danger livewire components in a flex column
container so they're properly spaced on the database danger page.
This commit is contained in:
Aditya Tripathi
2026-10-04 22:57:48 +02:00
committed by peaklabs-dev
parent 4429945da6
commit dafba128b2
@@ -53,10 +53,12 @@
@elseif ($currentRoute === 'project.database.tags')
<livewire:project.shared.tags :resource="$database" />
@elseif ($currentRoute === 'project.database.danger')
@if (in_array($database->type(), ['standalone-redis', 'standalone-keydb', 'standalone-dragonfly']))
<livewire:project.database.flush-cache :database="$database" />
@endif
<livewire:project.shared.danger :resource="$database" />
<div class="flex flex-col gap-8">
@if (in_array($database->type(), ['standalone-redis', 'standalone-keydb', 'standalone-dragonfly']))
<livewire:project.database.flush-cache :database="$database" />
@endif
<livewire:project.shared.danger :resource="$database" />
</div>
@endif
</div>
</div>