refactor: update layout styling in Proxmox component for improved alignment and spacing consistency

This commit is contained in:
2025-12-01 12:30:12 -05:00
parent b776969a57
commit 55811729ec

View File

@@ -223,7 +223,7 @@
background-color: #2563eb; background-color: #2563eb;
} }
</style> </style>
<div class="hidden lg:flex flex-row gap-2 items-center"> <div class="hidden lg:flex flex-row gap-2 items-baseline">
@foreach($tabs as $tab) @foreach($tabs as $tab)
@php @php
$isAdvancedTab = $tab['advanced'] ?? false; $isAdvancedTab = $tab['advanced'] ?? false;
@@ -244,7 +244,7 @@
@endif @endif
</div> </div>
@endforeach @endforeach
<div class="ml-auto flex items-center" style="height: 2.5rem; align-items: center;"> <div class="ml-auto" style="padding-top: 0.625rem;">
<label class="inline-flex items-center" :class="isAdvancedOnlyView ? 'opacity-50 cursor-not-allowed pointer-events-none' : 'cursor-pointer'"> <label class="inline-flex items-center" :class="isAdvancedOnlyView ? 'opacity-50 cursor-not-allowed pointer-events-none' : 'cursor-pointer'">
<span class="select-none text-sm font-medium text-gray-700 dark:text-gray-300">Standard</span> <span class="select-none text-sm font-medium text-gray-700 dark:text-gray-300">Standard</span>
<label class="view-toggle-switch"> <label class="view-toggle-switch">