fix(environment-variable): align settings and actions responsively

This commit is contained in:
Andras Bacsai
2026-07-14 14:02:34 +02:00
parent 59605fe7d3
commit 198e9f8fff
2 changed files with 15 additions and 5 deletions
@@ -27,6 +27,14 @@ it('keeps the environment variable delete button compact', function () {
expect($view)->not->toContain('buttonFullWidth="true"');
});
it('aligns environment variable settings and actions in a responsive row', function () {
$view = file_get_contents(resource_path('views/livewire/project/shared/environment-variable/show.blade.php'));
expect($view)
->toContain('class="flex w-full flex-col gap-3 lg:flex-row lg:items-start lg:justify-between"')
->toContain('class="flex w-full justify-end gap-2 lg:w-auto lg:shrink-0"');
});
it('uses sans font for the developer bulk environment variable editor', function () {
$view = file_get_contents(resource_path('views/livewire/project/shared/environment-variable/all.blade.php'));