fix(ui): add spacing between database backup sections
Add a flex column gap to the backup edit layout and cover the spacing with a feature test.
This commit is contained in:
parent
d2d6c8ac96
commit
3cca2a0bfe
2 changed files with 8 additions and 1 deletions
|
|
@ -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')
|
||||
|
|
|
|||
|
|
@ -50,3 +50,10 @@
|
|||
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">');
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue