diff --git a/resources/views/livewire/project/shared/environment-variable/show.blade.php b/resources/views/livewire/project/shared/environment-variable/show.blade.php index c602ba4af..fd9acdaf8 100644 --- a/resources/views/livewire/project/shared/environment-variable/show.blade.php +++ b/resources/views/livewire/project/shared/environment-variable/show.blade.php @@ -275,7 +275,7 @@ class="input italic !text-neutral-500 dark:!text-neutral-500" /> Lock @@ -284,7 +284,7 @@ class="input italic !text-neutral-500 dark:!text-neutral-500" /> Lock diff --git a/tests/Feature/EnvironmentVariableMultilineToggleViewTest.php b/tests/Feature/EnvironmentVariableMultilineToggleViewTest.php index de97e6095..8af9c69d5 100644 --- a/tests/Feature/EnvironmentVariableMultilineToggleViewTest.php +++ b/tests/Feature/EnvironmentVariableMultilineToggleViewTest.php @@ -21,6 +21,12 @@ ->toContain('wire:key="env-show-value-input-{{ $env->id }}"'); }); +it('keeps the environment variable delete button compact', function () { + $view = file_get_contents(resource_path('views/livewire/project/shared/environment-variable/show.blade.php')); + + expect($view)->not->toContain('buttonFullWidth="true"'); +}); + 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'));