From c0ddf73b753e54cf69396ec0581d2393fa5ce34a Mon Sep 17 00:00:00 2001 From: peaklabs-dev <122374094+peaklabs-dev@users.noreply.github.com> Date: Thu, 18 Sep 2025 19:14:34 +0200 Subject: [PATCH] fix(ui): change order and fix ui on small screens --- .../environment-variable/show.blade.php | 171 +++++++++--------- 1 file changed, 84 insertions(+), 87 deletions(-) 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 6b2540b62..d141463db 100644 --- a/resources/views/livewire/project/shared/environment-variable/show.blade.php +++ b/resources/views/livewire/project/shared/environment-variable/show.blade.php @@ -55,117 +55,114 @@ @endcan @can('update', $this->env) -
- @if (!$is_redis_credential) - @if ($type === 'service') - - - - - @else - @if ($is_shared) +
+
+ @if (!$is_redis_credential) + @if ($type === 'service') + + + @else - @if ($isSharedVariable) - + @if ($is_shared) + @else - @if (!$env->is_coolify) - - @if (!$env->is_nixpacks) - - - @if ($is_multiline === false) - + @if ($isSharedVariable) + + @else + @if (!$env->is_coolify) + @if (!$env->is_nixpacks) + + + @if ($is_multiline === false) + + @endif @endif + @endif @endif @endif @endif @endif - @endif -
- @if ($isDisabled) - - Update - - - Lock - - - @else - - Update - - - Lock - - - @endif +
+
+ @if ($isDisabled) + Update + Lock + + @else + Update + Lock + + @endif +
@else -
- @if (!$is_redis_credential) - @if ($type === 'service') - - +
+ @if (!$is_redis_credential) + @if ($type === 'service') + - - - @else - @if ($is_shared) + + + @else - @if ($isSharedVariable) - + @if ($is_shared) + @else - - - - @if ($is_multiline === false) - + @if ($isSharedVariable) + + @else + + + + @if ($is_multiline === false) + + @endif @endif @endif @endif @endif - @endif -
+
@endcan @endif