Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

fix(ui): add spacing between database backup sections

Andras Bacsai3cca2a0bfe18
diff --git a/resources/views/livewire/project/database/backup-edit.blade.php b/resources/views/livewire/project/database/backup-edit.blade.php
index 31637d7f9d..d85d506a0b 100644
--- a/resources/views/livewire/project/database/backup-edit.blade.php
+++ b/resources/views/livewire/project/database/backup-edit.blade.php
@@ -1,4 +1,4 @@
-<div>
+<div class="flex flex-col gap-6">
@if ($backup->database_id === 0)
@include('livewire.project.database.backup-edit.general')
@include('livewire.project.database.backup-edit.s3')
diff --git a/tests/Feature/DatabaseBackupsLayoutTest.php b/tests/Feature/DatabaseBackupsLayoutTest.php
index b2ab349d97..2b4941c091 100644
--- a/tests/Feature/DatabaseBackupsLayoutTest.php
+++ b/tests/Feature/DatabaseBackupsLayoutTest.php
@@ -50,3 +50,10 @@ it('keeps backup execution actions in the normal table flow', function () {
expect($executions)
->not->toContain('sticky right-0');
});
+
+it('spaces instance backup settings sections', function () {
+ $edit = file_get_contents(resource_path('views/livewire/project/database/backup-edit.blade.php'));
+
+ expect($edit)
+ ->toStartWith('<div class="flex flex-col gap-6">');
+});