refactor: polish comment form layout - inline attach and comment button

Move Comment/Reply button to same row as Attach link using
justify-between flex layout. Shorten "Attach files" to "Attach".
Place Cancel on left side, action buttons on right for edit/reply forms.
Cleaner, more compact footer area.
This commit is contained in:
manukminasyan
2026-03-27 21:32:05 +04:00
parent 2ace8bfdd4
commit 6a26396f0d
3 changed files with 46 additions and 47 deletions

View File

@@ -217,7 +217,7 @@ it('hides upload UI when attachments disabled', function () {
$this->actingAs($user);
Livewire::test(Comments::class, ['model' => $post])
->assertDontSeeHtml('Attach files');
->assertDontSeeHtml('wire:model="attachments"');
});
it('shows upload UI when attachments enabled', function () {
@@ -227,7 +227,7 @@ it('shows upload UI when attachments enabled', function () {
$this->actingAs($user);
Livewire::test(Comments::class, ['model' => $post])
->assertSeeHtml('Attach files');
->assertSeeHtml('wire:model="attachments"');
});
it('creates comment with multiple file attachments', function () {