improved responsivness in case the service/app/database is deployed

This commit is contained in:
Francesco Bruno
2024-05-05 18:14:14 +00:00
parent 3235907266
commit 1b30ee606f
4 changed files with 10 additions and 8 deletions

View File

@@ -9,14 +9,14 @@
<h1>Configuration</h1>
<x-resources.breadcrumbs :resource="$service" :parameters="$parameters" />
<div class="navbar-main" x-data>
<nav class="flex gap-4 overflow-x-scroll items-center min-h-10">
<nav class="flex gap-4 overflow-x-scroll items-center min-h-10 flex-shrink-0">
<a class="{{ request()->routeIs('project.service.configuration') ? 'dark:text-white' : '' }}"
href="{{ route('project.service.configuration', $parameters) }}">
<button>Configuration</button>
</a>
<x-services.links :service="$service" />
</nav>
<div class="flex gap-2 order-first sm:order-last">
<div class="flex items-center gap-2 order-first sm:order-last flex-wrap">
@if (str($service->status())->contains('running'))
<button @click="$wire.dispatch('restartEvent')" class="gap-2 button">
<svg class="w-5 h-5 dark:text-warning" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">