diff --git a/resources/views/components/applications/links.blade.php b/resources/views/components/applications/links.blade.php index 941700d948..9e6ec347b7 100644 --- a/resources/views/components/applications/links.blade.php +++ b/resources/views/components/applications/links.blade.php @@ -13,13 +13,9 @@ $linkItemClasses = 'listbox-option justify-start! gap-2.5!'; @endphp -
!$compact, - 'static' => $compact, - 'w-full' => $fullWidth, -]) x-data="{ open: false }" +
$fullWidth]) x-data="{ open: false }" x-effect="$dispatch('resource-actions-toggled', { open })" @keydown.escape.window="open = false"> -
!$compact, 'left-0! right-0! w-full! min-w-0! max-w-none!' => $fullWidth, - 'left-1/2! right-auto! w-[calc(100vw-2rem)]! max-w-md! min-w-0! -translate-x-1/2' => $compact, + 'w-max! min-w-60! max-w-[min(28rem,calc(100vw-2rem))]!' => $compact, 'right-0! left-auto! min-w-60! max-w-96!' => !$fullWidth && !$compact, ])> @if ($hasLinks) diff --git a/resources/views/components/services/links.blade.php b/resources/views/components/services/links.blade.php index 32de3af618..192363dbac 100644 --- a/resources/views/components/services/links.blade.php +++ b/resources/views/components/services/links.blade.php @@ -2,13 +2,9 @@ $linkItemClasses = 'listbox-option justify-start! gap-2.5!'; @endphp -
!$compact, - 'static' => $compact, - 'w-full' => $fullWidth, -]) x-data="{ open: false }" +
$fullWidth]) x-data="{ open: false }" x-effect="$dispatch('resource-actions-toggled', { open })" @keydown.escape.window="open = false"> -
!$compact, 'left-0! right-0! w-full! min-w-0! max-w-none!' => $fullWidth, - 'left-1/2! right-auto! w-[calc(100vw-2rem)]! max-w-md! min-w-0! -translate-x-1/2' => $compact, + 'w-max! min-w-60! max-w-[min(28rem,calc(100vw-2rem))]!' => $compact, 'right-0! left-auto! min-w-60! max-w-96!' => !$fullWidth && !$compact, ])> @forelse ($links as $link) diff --git a/resources/views/components/top-breadcrumb.blade.php b/resources/views/components/top-breadcrumb.blade.php index 83058bb64b..64bebc9381 100644 --- a/resources/views/components/top-breadcrumb.blade.php +++ b/resources/views/components/top-breadcrumb.blade.php @@ -259,16 +259,19 @@ @if ($currentResource) - @if ($currentApplication) - - @elseif ($currentDatabase) - - @else - - @endif + {{-- Below xl, the page heading shows the status. --}} + @endif