mirror of
https://github.com/coollabsio/coolify.git
synced 2026-11-06 13:10:37 -04:00
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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user