Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

feat(ui): add configurable page widths and searchable controls

Andras Bacsai5b517f21bee5
diff --git a/resources/views/components/breadcrumb-switcher.blade.php b/resources/views/components/breadcrumb-switcher.blade.php
index 85a95094b8..dba7cc2469 100644
--- a/resources/views/components/breadcrumb-switcher.blade.php
+++ b/resources/views/components/breadcrumb-switcher.blade.php
@@ -1,9 +1,12 @@
@props(['label', 'items', 'title'])
<span class="shrink-0 px-0.5 text-neutral-300 dark:text-fg-faint">/</span>
-<div class="relative min-w-0 shrink" x-data="{ open: false }" @keydown.escape.window="open = false">
+<div class="relative min-w-0 shrink" x-data="{ open: false, search: '' }" @keydown.escape.window="open = false"
+ @click.outside="open = false">
<div class="flex h-8 min-w-0 items-center gap-1">
- <button type="button" @click="open = !open" @click.outside="open = false" title="Switch resource"
+ <button type="button"
+ @click="open = !open; if (open) { search = ''; $nextTick(() => $refs.search.focus()) }"
+ title="Switch resource"
class="flex h-8 min-w-0 items-center gap-1.5 rounded-md px-2 opacity-70 transition-[background-color,opacity] hover:bg-neutral-100 hover:opacity-100 dark:hover:bg-white/[0.05]">
<span class="min-w-0 truncate font-semibold text-black dark:text-fg">{{ $label }}</span>
<svg class="size-4 shrink-0 text-neutral-400 dark:text-fg-faint" viewBox="0 0 24 24" fill="none">
@@ -18,11 +21,19 @@
<div x-show="open" x-cloak x-transition.opacity.duration.120ms
class="listbox-panel scrollbar left-0! z-[90]! max-h-80! min-w-56 max-w-72">
+ <div class="searchable-listbox-search">
+ <x-reicon name="search"
+ class="pointer-events-none absolute top-1/2 left-2.5 size-3.5 -translate-y-1/2 text-neutral-400 dark:text-fg-faint" />
+ <input x-ref="search" x-model.debounce.150ms="search" type="search"
+ autocomplete="off" placeholder="Search {{ strtolower($title) }}"
+ class="searchable-listbox-search-input" @keydown.escape.stop="open = false">
+ </div>
<div class="px-2 py-1 text-[10px] font-semibold uppercase tracking-wide text-neutral-400 dark:text-fg-faint">
{{ $title }}
</div>
@foreach ($items as $item)
<a href="{{ $item['href'] }}" {{ wireNavigate() }} @click="open = false"
+ x-show="@js(strtolower($item['label'])).includes(search.toLowerCase())"
class="listbox-option {{ $item['active'] ? 'bg-neutral-100 font-medium text-black dark:bg-white/[0.07] dark:text-fg' : '' }}">
<span class="min-w-0 flex-1 truncate">{{ $item['label'] }}</span>
</a>
diff --git a/resources/views/components/notification/settings-layout.blade.php b/resources/views/components/notification/settings-layout.blade.php
index 30c792c500..11c6de81d0 100644
--- a/resources/views/components/notification/settings-layout.blade.php
+++ b/resources/views/components/notification/settings-layout.blade.php
@@ -9,12 +9,12 @@
];
@endphp
-<section class="application-settings-workspace w-full max-w-[1180px]">
+<section class="application-settings-workspace w-full max-w-none">
<header class="settings-mobile-header xl:hidden">
<h1 class="settings-mobile-title">Notifications</h1>
<p class="settings-mobile-description">Configure how your team receives deployment and system alerts.</p>
</header>
- <div class="grid min-w-0 gap-8 xl:grid-cols-[210px_minmax(0,1fr)] xl:gap-10">
+ <div class="grid min-w-0 gap-8 xl:grid-cols-[210px_minmax(0,1fr)] xl:gap-8">
<aside class="application-settings-navigation min-w-0 xl:self-start">
<nav aria-label="Notification settings"
class="grid grid-cols-2 gap-0.5 border-y border-neutral-200 py-3 sm:grid-cols-3 lg:grid-cols-4 xl:grid-cols-1 xl:border-y-0 xl:py-0 dark:border-white/[0.06]">
diff --git a/resources/views/components/page-size-select.blade.php b/resources/views/components/page-size-select.blade.php
index d364ac21c5..63bd02da96 100644
--- a/resources/views/components/page-size-select.blade.php
+++ b/resources/views/components/page-size-select.blade.php
@@ -5,35 +5,16 @@
'storageKey' => null,
])
-<label class="mb-0! flex h-7 items-center gap-1.5 text-[11px] text-neutral-500 dark:text-fg-dim"
+<div class="mb-0! flex h-7 items-center gap-1.5 text-[11px] text-neutral-500 dark:text-fg-dim"
x-data="{
selectedPageSize: @js((int) $options[0]),
customPageSize: @js((int) $options[0]),
customizingPageSize: false,
- syncCustomOption(value) {
- const select = this.$refs.pageSizePreset;
- let customOption = select?.querySelector('[data-custom-page-size]');
- if (@js(array_map('intval', $options)).includes(Number(value))) {
- customOption?.remove();
- } else if (select) {
- if (!customOption) {
- customOption = document.createElement('option');
- customOption.dataset.customPageSize = '';
- select.insertBefore(customOption, select.lastElementChild);
- }
- customOption.value = String(value);
- customOption.textContent = String(value);
- }
- if (select) select.value = String(value);
- },
applyPageSize(value) {
const pageSizeValue = Math.min(100, Math.max(1, Number(value) || 1));
this.selectedPageSize = pageSizeValue;
this.customPageSize = pageSizeValue;
this.customizingPageSize = false;
- this.$nextTick(() => {
- this.syncCustomOption(pageSizeValue);
- });
@if ($livewire)
$wire.set(@js($model), pageSizeValue);
@else
@@ -51,25 +32,32 @@
if (savedPageSize >= 1 && savedPageSize <= 100) applyPageSize(savedPageSize);
@endif
">
- <span class="hidden sm:inline">Rows</span>
<span x-show="!customizingPageSize" class="relative inline-flex h-7 w-12 items-center">
- <select x-ref="pageSizePreset" aria-label="Items per page"
- x-on:change="$el.value === 'custom' ? (customizingPageSize = true, $nextTick(() => $refs.customPageSize.focus())) : applyPageSize($el.value)"
- class="peer absolute inset-0 z-10 h-7! w-12! cursor-pointer opacity-0">
+ <x-table.dropdown panel-class="min-w-24!">
+ <x-slot:trigger>
+ <button type="button" aria-label="Items per page" aria-haspopup="listbox" :aria-expanded="open"
+ class="inline-flex h-7! w-12! items-center justify-between border-0 px-1 text-[11px]! leading-none! tabular-nums text-neutral-500 transition-colors hover:text-black dark:text-fg-dim dark:hover:text-fg">
+ <span x-text="selectedPageSize"></span>
+ <x-reicon name="chevron-down" class="size-3 text-neutral-400 dark:text-fg-faint" />
+ </button>
+ </x-slot:trigger>
@foreach ($options as $option)
- <option value="{{ $option }}">{{ $option }}</option>
+ <button type="button" class="listbox-option" role="option"
+ :aria-selected="selectedPageSize === {{ (int) $option }}"
+ x-on:click="applyPageSize({{ (int) $option }})">
+ <span>{{ $option }}</span>
+ <x-reicon x-show="selectedPageSize === {{ (int) $option }}" name="check" class="size-3.5" />
+ </button>
@endforeach
- <option value="custom">Custom…</option>
- </select>
- <span
- class="pointer-events-none inline-flex h-7 w-12 items-center justify-between border-0 px-1 text-[11px]! leading-none! tabular-nums text-neutral-500 transition-colors peer-hover:text-black dark:text-fg-dim dark:peer-hover:text-fg">
- <span x-text="selectedPageSize"></span>
- <x-reicon name="chevron-down" class="size-3 text-neutral-400 dark:text-fg-faint" />
- </span>
+ <button type="button" class="listbox-option" role="option"
+ x-on:click="customizingPageSize = true; $nextTick(() => $refs.customPageSize.focus())">
+ Custom…
+ </button>
+ </x-table.dropdown>
</span>
<input x-cloak x-show="customizingPageSize" x-ref="customPageSize" x-model.number="customPageSize"
x-on:keydown.enter.prevent="applyPageSize(customPageSize)" x-on:keydown.escape.prevent="customizingPageSize = false"
x-on:blur="if (customizingPageSize) applyPageSize(customPageSize)" type="number" min="1" max="100" inputmode="numeric"
aria-label="Custom items per page"
class="mb-0! h-7! w-14! rounded-md! border-neutral-200! bg-transparent! px-1.5! py-0! text-[11px]! tabular-nums shadow-none! focus:border-neutral-300! focus:ring-0! dark:border-white/[0.08]! dark:text-fg-dim!" />
-</label>
+</div>
diff --git a/resources/views/components/security/settings-layout.blade.php b/resources/views/components/security/settings-layout.blade.php
index ef60217eec..d2b3e30a6f 100644
--- a/resources/views/components/security/settings-layout.blade.php
+++ b/resources/views/components/security/settings-layout.blade.php
@@ -27,12 +27,12 @@
])->filter();
@endphp
-<section class="application-settings-workspace w-full max-w-[1180px]">
+<section class="application-settings-workspace w-full max-w-none">
<header class="settings-mobile-header xl:hidden">
<h1 class="settings-mobile-title">Keys & Tokens</h1>
<p class="settings-mobile-description">Manage SSH keys, cloud credentials, and API access tokens.</p>
</header>
- <div class="grid min-w-0 gap-8 xl:grid-cols-[210px_minmax(0,1fr)] xl:gap-10">
+ <div class="grid min-w-0 gap-8 xl:grid-cols-[210px_minmax(0,1fr)] xl:gap-8">
<aside class="application-settings-navigation min-w-0 xl:self-start">
<nav aria-label="Keys and tokens"
class="grid grid-cols-2 gap-0.5 border-y border-neutral-200 py-3 sm:grid-cols-3 lg:grid-cols-4 xl:grid-cols-1 xl:border-y-0 xl:py-0 dark:border-white/[0.06]">
diff --git a/resources/views/components/settings/layout.blade.php b/resources/views/components/settings/layout.blade.php
index a981cd0778..6b70375712 100644
--- a/resources/views/components/settings/layout.blade.php
+++ b/resources/views/components/settings/layout.blade.php
@@ -14,12 +14,12 @@
];
@endphp
-<section class="application-settings-workspace w-full max-w-[1180px]">
+<section class="application-settings-workspace w-full max-w-none">
<header class="settings-mobile-header xl:hidden">
<h1 class="settings-mobile-title">Instance Settings</h1>
<p class="settings-mobile-description">Configure global settings for this Coolify instance.</p>
</header>
- <div class="grid min-w-0 gap-8 xl:grid-cols-[210px_minmax(0,1fr)] xl:gap-10">
+ <div class="grid min-w-0 gap-8 xl:grid-cols-[210px_minmax(0,1fr)] xl:gap-8">
<aside class="application-settings-navigation min-w-0 xl:self-start">
<nav aria-label="Instance settings"
class="grid grid-cols-2 gap-0.5 border-y border-neutral-200 py-3 sm:grid-cols-3 lg:grid-cols-4 xl:grid-cols-1 xl:border-y-0 xl:py-0 dark:border-white/[0.06]">
diff --git a/resources/views/components/settings/navbar.blade.php b/resources/views/components/settings/navbar.blade.php
index fefd367173..79b333ca3e 100644
--- a/resources/views/components/settings/navbar.blade.php
+++ b/resources/views/components/settings/navbar.blade.php
@@ -4,7 +4,7 @@
])
{{-- Same 1180px shell as the workspace. Title hidden only at xl+ (full desktop). --}}
-<div class="mx-auto w-full max-w-[1180px]">
+<div class="mx-auto w-full max-w-none">
<x-dashboard.navbar section="settings" :title="$title" :subtitle="$subtitle" :titleOnDesktop="false">
@isset($titleActions)
<x-slot:titleActions>
diff --git a/resources/views/components/shared-variables/layout.blade.php b/resources/views/components/shared-variables/layout.blade.php
index cca0479e43..4fd2b58697 100644
--- a/resources/views/components/shared-variables/layout.blade.php
+++ b/resources/views/components/shared-variables/layout.blade.php
@@ -8,7 +8,7 @@
];
@endphp
-<section class="w-full max-w-[1180px]">
+<section class="w-full max-w-none">
<header class="mb-6 xl:hidden">
<h1 class="text-[24px]! leading-7! font-semibold! tracking-tight!">Shared variables</h1>
<p class="mt-1 text-[13px] text-neutral-500 dark:text-fg-dim">Reusable environment variables across resources</p>
diff --git a/resources/views/components/team/settings-layout.blade.php b/resources/views/components/team/settings-layout.blade.php
index 99b82091b0..e9a5fbd9b0 100644
--- a/resources/views/components/team/settings-layout.blade.php
+++ b/resources/views/components/team/settings-layout.blade.php
@@ -28,12 +28,12 @@
])->filter();
@endphp
-<section class="application-settings-workspace w-full max-w-[1180px]">
+<section class="application-settings-workspace w-full max-w-none">
<header class="settings-mobile-header xl:hidden">
<h1 class="settings-mobile-title">Team</h1>
<p class="settings-mobile-description">Manage your team, members, and access settings.</p>
</header>
- <div class="grid min-w-0 gap-8 xl:grid-cols-[210px_minmax(0,1fr)] xl:gap-10">
+ <div class="grid min-w-0 gap-8 xl:grid-cols-[210px_minmax(0,1fr)] xl:gap-8">
<aside class="application-settings-navigation min-w-0 xl:self-start">
<nav aria-label="Team settings"
class="grid grid-cols-2 gap-0.5 border-y border-neutral-200 py-3 sm:grid-cols-3 lg:grid-cols-4 xl:grid-cols-1 xl:border-y-0 xl:py-0 dark:border-white/[0.06]">
diff --git a/resources/views/components/top-user-menu.blade.php b/resources/views/components/top-user-menu.blade.php
index 6c61e417f5..8b9d42e73e 100644
--- a/resources/views/components/top-user-menu.blade.php
+++ b/resources/views/components/top-user-menu.blade.php
@@ -12,6 +12,7 @@
open: false,
appearanceOpen: false,
theme: localStorage.getItem('theme') === 'purple' ? 'custom' : (localStorage.getItem('theme') || 'dark'),
+ pageWidth: localStorage.getItem('pageWidth') || 'full',
themeColor: localStorage.getItem('themeColor') || '#6b16ed',
themeColorFrame: null,
avatarUrl: @js($user?->avatar_path ? route('profile.avatar', ['v' => $user->updated_at->timestamp]) : null),
@@ -32,6 +33,11 @@
document.documentElement.style.setProperty('--theme-accent-foreground', window.themeAccentForeground(this.themeColor));
document.querySelector('meta[name=theme-color]')?.setAttribute('content', isDark ? '#101010' : '#ffffff');
},
+ setWidth(width) {
+ this.pageWidth = width;
+ localStorage.setItem('pageWidth', width);
+ window.dispatchEvent(new CustomEvent('page-width-changed', { detail: width }));
+ },
previewThemeColor(color) {
this.themeColor = color;
@@ -150,6 +156,25 @@
</button>
@endif
@endforeach
+ <div class="my-1 h-px bg-neutral-200 dark:bg-white/[0.07]"></div>
+ <div class="px-2 pt-1 pb-0.5 text-[10px] font-medium tracking-wide text-neutral-400 uppercase dark:text-fg-faint">
+ Page width
+ </div>
+ @foreach ([
+ ['value' => 'full', 'label' => 'Full width'],
+ ['value' => 'centered', 'label' => 'Centered'],
+ ] as $option)
+ <button type="button" @click="setWidth('{{ $option['value'] }}')"
+ class="flex h-8 w-full items-center justify-between rounded-md px-2 text-left text-xs text-neutral-600 transition-colors hover:bg-neutral-200 hover:text-neutral-950 dark:text-fg-dim dark:hover:bg-white/[0.06] dark:hover:text-fg">
+ <span>{{ $option['label'] }}</span>
+ <svg x-show="pageWidth === '{{ $option['value'] }}'"
+ class="size-3.5 text-coollabs dark:text-warning" viewBox="0 0 12 12" fill="none"
+ aria-hidden="true">
+ <path d="m2.5 6.25 2.1 2.1 4.9-5" stroke="currentColor" stroke-width="1.4"
+ stroke-linecap="round" stroke-linejoin="round" />
+ </svg>
+ </button>
+ @endforeach
</div>
<div class="my-1 h-px bg-neutral-200 dark:bg-white/[0.07]"></div>
diff --git a/resources/views/layouts/app.blade.php b/resources/views/layouts/app.blade.php
index 02c7fc9a7c..bbb87ec8cc 100644
--- a/resources/views/layouts/app.blade.php
+++ b/resources/views/layouts/app.blade.php
@@ -10,6 +10,7 @@
<div x-data="{
open: false,
collapsed: localStorage.getItem('sidebarCollapsed') === 'true',
+ pageWidth: localStorage.getItem('pageWidth') || 'full',
sidebarReady: false,
init() {
this.$nextTick(() => {
@@ -22,7 +23,8 @@
this.collapsed = !this.collapsed;
localStorage.setItem('sidebarCollapsed', this.collapsed);
}
- }" @open-global-search.window="open = false" x-cloak class="dark:text-inherit text-black">
+ }" @open-global-search.window="open = false" @page-width-changed.window="pageWidth = $event.detail" x-cloak
+ class="dark:text-inherit text-black">
<livewire:deployments-indicator />
{{-- ============ DESKTOP TOP BAR ============ --}}
@@ -128,7 +130,7 @@
<main
class="min-h-screen bg-white dark:bg-panel px-5 py-6 sm:px-8 lg:px-10 lg:pt-[calc(3rem+1.75rem)] lg:pb-10"
:class="[collapsed ? 'lg:ml-16' : 'lg:ml-56', sidebarReady ? 'transition-[margin] duration-200' : '']">
- <div class="mx-auto w-full max-w-[1400px]">
+ <div class="w-full" :class="pageWidth === 'centered' ? 'mx-auto max-w-[1400px]' : 'max-w-none'">
{{ $slot }}
</div>
</main>
diff --git a/resources/views/livewire/admin/index.blade.php b/resources/views/livewire/admin/index.blade.php
index dfadfce7a1..c2fb4b271e 100644
--- a/resources/views/livewire/admin/index.blade.php
+++ b/resources/views/livewire/admin/index.blade.php
@@ -1,6 +1,6 @@
<div>
<x-slot:title>Admin | Coolify</x-slot>
- <div class="mt-8 flex w-full max-w-[1180px] flex-col gap-6 lg:mt-3">
+ <div class="mt-8 flex w-full max-w-none flex-col gap-6 lg:mt-3">
<section class="grid gap-3 sm:grid-cols-3">
<div class="rounded-[10px] border border-neutral-200 bg-white p-4 dark:border-white/[0.07] dark:bg-surface">
<div class="text-xs font-medium text-neutral-500 dark:text-fg-dim">Current user</div>
diff --git a/resources/views/livewire/destination/resources.blade.php b/resources/views/livewire/destination/resources.blade.php
index fdf07c8e73..cd89275833 100644
--- a/resources/views/livewire/destination/resources.blade.php
+++ b/resources/views/livewire/destination/resources.blade.php
@@ -7,8 +7,8 @@
:title="$destination->name" subtitle="Applications, databases, and services on this network"
:mobileTitleOnly="true" />
- <section class="application-settings-workspace mt-4 w-full max-w-[1180px] lg:mt-0">
- <div class="grid min-w-0 gap-8 xl:grid-cols-[210px_minmax(0,1fr)] xl:gap-10">
+ <section class="application-settings-workspace mt-4 w-full max-w-none lg:mt-0">
+ <div class="grid min-w-0 gap-8 xl:grid-cols-[210px_minmax(0,1fr)] xl:gap-8">
@include('livewire.destination.sidebar', ['destination' => $destination])
<div class="min-w-0">
diff --git a/resources/views/livewire/destination/show.blade.php b/resources/views/livewire/destination/show.blade.php
index 4d3d794754..cad07fb420 100644
--- a/resources/views/livewire/destination/show.blade.php
+++ b/resources/views/livewire/destination/show.blade.php
@@ -12,8 +12,8 @@
<x-dashboard.navbar section="destination" :parameters="['destination_uuid' => $destination->uuid]"
:title="$name" :subtitle="$destinationSubtitle" :mobileTitleOnly="true" />
- <section class="application-settings-workspace mt-4 w-full max-w-[1180px] lg:mt-0">
- <div class="grid min-w-0 gap-8 xl:grid-cols-[210px_minmax(0,1fr)] xl:gap-10">
+ <section class="application-settings-workspace mt-4 w-full max-w-none lg:mt-0">
+ <div class="grid min-w-0 gap-8 xl:grid-cols-[210px_minmax(0,1fr)] xl:gap-8">
@include('livewire.destination.sidebar', ['destination' => $destination])
<div class="min-w-0">
diff --git a/resources/views/livewire/profile/appearance.blade.php b/resources/views/livewire/profile/appearance.blade.php
index d191b3974e..19b06438a9 100644
--- a/resources/views/livewire/profile/appearance.blade.php
+++ b/resources/views/livewire/profile/appearance.blade.php
@@ -3,6 +3,7 @@
<div x-data="{
theme: localStorage.getItem('theme') === 'purple' ? 'custom' : (localStorage.getItem('theme') || 'dark'),
themeColor: localStorage.getItem('themeColor') || '#6b16ed',
+ pageWidth: localStorage.getItem('pageWidth') || 'full',
themeColorFrame: null,
init() {
localStorage.setItem('theme', this.theme);
@@ -13,6 +14,11 @@
localStorage.setItem('theme', type);
this.applyTheme();
},
+ setWidth(width) {
+ this.pageWidth = width;
+ localStorage.setItem('pageWidth', width);
+ window.dispatchEvent(new CustomEvent('page-width-changed', { detail: width }));
+ },
previewThemeColor(color) {
this.themeColor = color;
@@ -46,7 +52,7 @@
document.documentElement.style.setProperty('--theme-accent-foreground', window.themeAccentForeground(this.themeColor));
document.querySelector('meta[name=theme-color]')?.setAttribute('content', isDark ? '#101010' : '#ffffff');
},
- }" class="mt-8 flex w-full max-w-[1180px] flex-col gap-6 lg:mt-3">
+ }" class="mt-8 flex w-full max-w-none flex-col gap-6 lg:mt-3">
<section class="application-settings-section">
<div class="application-settings-section-header">
<div>
@@ -106,5 +112,45 @@
@endforeach
</div>
</section>
+
+ <section class="application-settings-section">
+ <div class="application-settings-section-header">
+ <div>
+ <h2>Page width</h2>
+ <p>Choose how content uses the available browser width.</p>
+ </div>
+ </div>
+ <div class="application-settings-section-body grid gap-3 sm:grid-cols-2">
+ @foreach ([
+ ['value' => 'full', 'label' => 'Full width', 'description' => 'Use all available space for page content.'],
+ ['value' => 'centered', 'label' => 'Centered', 'description' => 'Keep content centered at a comfortable maximum width.'],
+ ] as $option)
+ <button type="button" @click="setWidth('{{ $option['value'] }}')"
+ class="group overflow-hidden rounded-[10px] border border-neutral-200 bg-white text-left transition-[border-color,box-shadow] hover:border-neutral-300 hover:shadow-sm dark:border-white/[0.07] dark:bg-white/[0.025] dark:hover:border-white/[0.12]"
+ :class="pageWidth === '{{ $option['value'] }}'
+ ? 'ring-1 ring-coollabs/30 border-coollabs/40 dark:ring-warning/30 dark:border-warning/40'
+ : ''">
+ <div class="flex h-20 items-center border-b border-neutral-200 bg-neutral-50 px-4 dark:border-white/[0.07] dark:bg-black/15">
+ <div class="flex h-11 w-full gap-1.5 rounded-md border border-neutral-300 bg-white p-1.5 dark:border-white/15 dark:bg-[#181818]">
+ <div class="w-3 shrink-0 rounded-sm bg-neutral-200 dark:bg-white/10"></div>
+ <div @class([
+ 'h-full rounded-sm bg-neutral-200 dark:bg-white/10',
+ 'w-full' => $option['value'] === 'full',
+ 'mx-auto w-2/3' => $option['value'] === 'centered',
+ ])></div>
+ </div>
+ </div>
+ <div class="p-3">
+ <div class="flex items-center justify-between gap-2">
+ <span class="text-sm font-semibold text-black dark:text-fg">{{ $option['label'] }}</span>
+ <x-reicon name="check-circle" class="size-4 text-coollabs dark:text-warning"
+ x-show="pageWidth === '{{ $option['value'] }}'" x-cloak />
+ </div>
+ <p class="mt-1 text-xs leading-5 text-neutral-500 dark:text-fg-dim">{{ $option['description'] }}</p>
+ </div>
+ </button>
+ @endforeach
+ </div>
+ </section>
</div>
</div>
diff --git a/resources/views/livewire/profile/index.blade.php b/resources/views/livewire/profile/index.blade.php
index 000b9d3d01..ef54d3e215 100644
--- a/resources/views/livewire/profile/index.blade.php
+++ b/resources/views/livewire/profile/index.blade.php
@@ -7,7 +7,7 @@
}"
@close-email-change-modal.window="emailModalOpen = false">
<x-slot:title>Profile | Coolify</x-slot>
- <div class="mt-8 flex w-full max-w-[1180px] flex-col gap-6 lg:mt-3">
+ <div class="mt-8 flex w-full max-w-none flex-col gap-6 lg:mt-3">
<section class="application-settings-section" x-data="{
preview: null,
processing: false,
diff --git a/resources/views/livewire/project/application/backup/index.blade.php b/resources/views/livewire/project/application/backup/index.blade.php
index a8fa6352d6..140b9a6339 100644
--- a/resources/views/livewire/project/application/backup/index.blade.php
+++ b/resources/views/livewire/project/application/backup/index.blade.php
@@ -51,8 +51,8 @@
<livewire:project.application.heading :application="$application"
wire:key="application-heading-backup-index-{{ $application->id }}" />
- <section class="application-settings-workspace mt-4 w-full max-w-[1180px] lg:mt-0">
- <div class="grid min-w-0 gap-8 xl:grid-cols-[210px_minmax(0,1fr)] xl:gap-10">
+ <section class="application-settings-workspace mt-4 w-full max-w-none lg:mt-0">
+ <div class="grid min-w-0 gap-8 xl:grid-cols-[210px_minmax(0,1fr)] xl:gap-8">
<x-application.configuration-sidebar :application="$application"
current-route="project.application.backup.index" />
diff --git a/resources/views/livewire/project/application/backup/show.blade.php b/resources/views/livewire/project/application/backup/show.blade.php
index 2c4c0e2298..982160794d 100644
--- a/resources/views/livewire/project/application/backup/show.blade.php
+++ b/resources/views/livewire/project/application/backup/show.blade.php
@@ -5,8 +5,8 @@
<livewire:project.application.heading :application="$application" wire:key="application-heading-backup-show" />
- <section class="application-settings-workspace mt-4 w-full max-w-[1180px] lg:mt-0">
- <div class="grid min-w-0 gap-8 xl:grid-cols-[210px_minmax(0,1fr)] xl:gap-10">
+ <section class="application-settings-workspace mt-4 w-full max-w-none lg:mt-0">
+ <div class="grid min-w-0 gap-8 xl:grid-cols-[210px_minmax(0,1fr)] xl:gap-8">
<x-backup-sidebar context="application" :parameters="$parameters" :section="$section" />
<div class="min-w-0">
diff --git a/resources/views/livewire/project/application/configuration.blade.php b/resources/views/livewire/project/application/configuration.blade.php
index d5538f8698..41127287c4 100644
--- a/resources/views/livewire/project/application/configuration.blade.php
+++ b/resources/views/livewire/project/application/configuration.blade.php
@@ -5,8 +5,8 @@
<livewire:project.shared.configuration-checker :resource="$application" />
<livewire:project.application.heading :application="$application" :wire:key="'application-heading-'.$currentRoute" />
- <section class="application-settings-workspace mt-4 w-full max-w-[1180px] lg:mt-0">
- <div class="grid min-w-0 gap-8 xl:grid-cols-[210px_minmax(0,1fr)] xl:gap-10">
+ <section class="application-settings-workspace mt-4 w-full max-w-none lg:mt-0">
+ <div class="grid min-w-0 gap-8 xl:grid-cols-[210px_minmax(0,1fr)] xl:gap-8">
<x-application.configuration-sidebar :application="$application" :current-route="$currentRoute" />
<div class="min-w-0">
diff --git a/resources/views/livewire/project/application/deployment/index.blade.php b/resources/views/livewire/project/application/deployment/index.blade.php
index 20445e3c75..88301d71c6 100644
--- a/resources/views/livewire/project/application/deployment/index.blade.php
+++ b/resources/views/livewire/project/application/deployment/index.blade.php
@@ -15,11 +15,11 @@
<section @class([
'application-settings-workspace w-full',
- 'mt-4 max-w-[1180px] lg:mt-0' => ! $embedded,
+ 'mt-4 max-w-none lg:mt-0' => ! $embedded,
])>
<div @class([
'min-w-0',
- 'grid gap-8 xl:grid-cols-[210px_minmax(0,1fr)] xl:gap-10' => ! $embedded,
+ 'grid gap-8 xl:grid-cols-[210px_minmax(0,1fr)] xl:gap-8' => ! $embedded,
])>
@unless ($embedded)
<x-application.configuration-sidebar :application="$application"
diff --git a/resources/views/livewire/project/application/deployment/show.blade.php b/resources/views/livewire/project/application/deployment/show.blade.php
index 0c732d1fb8..18e0a6cb3f 100644
--- a/resources/views/livewire/project/application/deployment/show.blade.php
+++ b/resources/views/livewire/project/application/deployment/show.blade.php
@@ -4,8 +4,8 @@
</x-slot>
<livewire:project.shared.configuration-checker :resource="$application" />
<livewire:project.application.heading :application="$application" wire:key="application-heading-deployment-show" />
- <section class="application-settings-workspace mt-4 flex min-h-0 w-full max-w-[1180px] flex-1 lg:mt-0">
- <div class="grid min-h-0 min-w-0 flex-1 gap-8 xl:grid-cols-[210px_minmax(0,1fr)] xl:gap-10">
+ <section class="application-settings-workspace mt-4 flex min-h-0 w-full max-w-none flex-1 lg:mt-0">
+ <div class="grid min-h-0 min-w-0 flex-1 gap-8 xl:grid-cols-[210px_minmax(0,1fr)] xl:gap-8">
<x-application.configuration-sidebar :application="$application" :flush="true"
current-route="project.application.deployment.show" />
<div class="flex min-h-0 min-w-0 flex-col gap-4 xl:h-full xl:pt-px">
diff --git a/resources/views/livewire/project/application/heading.blade.php b/resources/views/livewire/project/application/heading.blade.php
index 98d6420ae7..d7efc8f2fa 100644
--- a/resources/views/livewire/project/application/heading.blade.php
+++ b/resources/views/livewire/project/application/heading.blade.php
@@ -1,4 +1,4 @@
-<nav wire:poll.10000ms="checkStatus" class="w-full max-w-[1180px] pb-4 md:pb-6 lg:pb-0">
+<nav wire:poll.10000ms="checkStatus" class="w-full max-w-none pb-4 md:pb-6 lg:pb-0">
@php
$routeIs = fn (string|array $routes): bool => \Illuminate\Support\Str::is($routes, $activeRouteName);
// Settings covers all configuration sub-pages (General, Webhooks, Domains, …),
diff --git a/resources/views/livewire/project/clone-me.blade.php b/resources/views/livewire/project/clone-me.blade.php
index 6d945775b9..184b3729c3 100644
--- a/resources/views/livewire/project/clone-me.blade.php
+++ b/resources/views/livewire/project/clone-me.blade.php
@@ -1,6 +1,6 @@
<div>
<x-slot:title>{{ data_get_str($project, 'name')->limit(10) }} > Clone | Coolify</x-slot>
- <div class="w-full max-w-[1180px]">
+ <div class="w-full max-w-none">
<header class="mb-5">
<h1 class="truncate text-[24px]! leading-7! font-semibold! tracking-tight!">{{ $environment->name }}</h1>
<p class="mt-1 text-[13px] text-neutral-500 dark:text-fg-dim">
diff --git a/resources/views/livewire/project/database/backup/execution.blade.php b/resources/views/livewire/project/database/backup/execution.blade.php
index a6a80645a7..911f403db8 100644
--- a/resources/views/livewire/project/database/backup/execution.blade.php
+++ b/resources/views/livewire/project/database/backup/execution.blade.php
@@ -5,8 +5,8 @@
<livewire:project.database.heading :database="$database" />
- <section class="application-settings-workspace mt-4 w-full max-w-[1180px] lg:mt-0">
- <div class="grid min-w-0 gap-8 xl:grid-cols-[210px_minmax(0,1fr)] xl:gap-10">
+ <section class="application-settings-workspace mt-4 w-full max-w-none lg:mt-0">
+ <div class="grid min-w-0 gap-8 xl:grid-cols-[210px_minmax(0,1fr)] xl:gap-8">
<x-backup-sidebar context="database" :parameters="$parameters" :section="$section" />
<div class="min-w-0">
diff --git a/resources/views/livewire/project/database/backup/index.blade.php b/resources/views/livewire/project/database/backup/index.blade.php
index 624d0b8c61..da2140e061 100644
--- a/resources/views/livewire/project/database/backup/index.blade.php
+++ b/resources/views/livewire/project/database/backup/index.blade.php
@@ -5,7 +5,7 @@
<livewire:project.database.heading :database="$database" />
- <div class="application-settings-workspace mt-4 grid w-full max-w-[1180px] min-w-0 gap-8 lg:mt-0 xl:grid-cols-[210px_minmax(0,1fr)] xl:gap-10">
+ <div class="application-settings-workspace mt-4 grid w-full max-w-none min-w-0 gap-8 lg:mt-0 xl:grid-cols-[210px_minmax(0,1fr)] xl:gap-8">
<x-database.configuration-sidebar :database="$database" current-route="project.database.backup.index" />
<div class="application-settings-form flex min-w-0 flex-col gap-6">
<x-application.settings-section title="Database backups"
diff --git a/resources/views/livewire/project/database/configuration.blade.php b/resources/views/livewire/project/database/configuration.blade.php
index 60c6881baf..fb32c18ba4 100644
--- a/resources/views/livewire/project/database/configuration.blade.php
+++ b/resources/views/livewire/project/database/configuration.blade.php
@@ -6,8 +6,8 @@
<livewire:project.database.heading :database="$database" />
- <section class="application-settings-workspace mt-4 w-full max-w-[1180px] lg:mt-0">
- <div class="grid min-w-0 gap-8 xl:grid-cols-[210px_minmax(0,1fr)] xl:gap-10">
+ <section class="application-settings-workspace mt-4 w-full max-w-none lg:mt-0">
+ <div class="grid min-w-0 gap-8 xl:grid-cols-[210px_minmax(0,1fr)] xl:gap-8">
<x-database.configuration-sidebar :database="$database" :current-route="$currentRoute" />
<div class="min-w-0">
diff --git a/resources/views/livewire/project/database/heading.blade.php b/resources/views/livewire/project/database/heading.blade.php
index 5d2dfc3368..c36020ee9a 100644
--- a/resources/views/livewire/project/database/heading.blade.php
+++ b/resources/views/livewire/project/database/heading.blade.php
@@ -1,4 +1,4 @@
-<nav wire:poll.10000ms="checkStatus" class="w-full max-w-[1180px] pb-4 md:pb-6 lg:pb-0">
+<nav wire:poll.10000ms="checkStatus" class="w-full max-w-none pb-4 md:pb-6 lg:pb-0">
@php
$databasePageItems = [
[
diff --git a/resources/views/livewire/project/edit.blade.php b/resources/views/livewire/project/edit.blade.php
index 6557c75113..564da27647 100644
--- a/resources/views/livewire/project/edit.blade.php
+++ b/resources/views/livewire/project/edit.blade.php
@@ -1,6 +1,6 @@
<div>
<x-slot:title>{{ data_get_str($project, 'name')->limit(10) }} > Edit | Coolify</x-slot>
- <div class="w-full max-w-[1180px]">
+ <div class="w-full max-w-none">
<header class="mb-5">
<h1 class="truncate text-[24px]! leading-7! font-semibold! tracking-tight!">{{ $project->name }}</h1>
<p class="mt-1 text-[13px] text-neutral-500 dark:text-fg-dim">Project settings</p>
diff --git a/resources/views/livewire/project/environment-edit.blade.php b/resources/views/livewire/project/environment-edit.blade.php
index 1d267e09a3..eebbf0cb3e 100644
--- a/resources/views/livewire/project/environment-edit.blade.php
+++ b/resources/views/livewire/project/environment-edit.blade.php
@@ -1,6 +1,6 @@
<div>
<x-slot:title>{{ data_get_str($environment, 'name')->limit(10) }} > Edit | Coolify</x-slot>
- <div class="w-full max-w-[1180px]">
+ <div class="w-full max-w-none">
<header class="mb-5 flex flex-col gap-3 sm:flex-row sm:items-start sm:justify-between">
<div class="min-w-0">
<h1 class="truncate text-[24px]! leading-7! font-semibold! tracking-tight!">{{ $environment->name }}</h1>
diff --git a/resources/views/livewire/project/new/github-private-repository-deploy-key.blade.php b/resources/views/livewire/project/new/github-private-repository-deploy-key.blade.php
index 11fd4eec66..b0dc41bb4d 100644
--- a/resources/views/livewire/project/new/github-private-repository-deploy-key.blade.php
+++ b/resources/views/livewire/project/new/github-private-repository-deploy-key.blade.php
@@ -1,4 +1,4 @@
-<div class="mt-8 flex w-full max-w-[1180px] flex-col gap-6 lg:mt-3">
+<div class="mt-8 flex w-full max-w-none flex-col gap-6 lg:mt-3">
@if ($current_step === 'private_keys')
<section class="application-settings-section">
<div class="application-settings-section-header">
diff --git a/resources/views/livewire/project/new/github-private-repository.blade.php b/resources/views/livewire/project/new/github-private-repository.blade.php
index 778e6171ab..be4c189a3e 100644
--- a/resources/views/livewire/project/new/github-private-repository.blade.php
+++ b/resources/views/livewire/project/new/github-private-repository.blade.php
@@ -1,4 +1,4 @@
-<div class="mt-8 flex w-full max-w-[1180px] flex-col gap-6 lg:mt-3">
+<div class="mt-8 flex w-full max-w-none flex-col gap-6 lg:mt-3">
@if ($github_apps->isEmpty())
<section class="application-settings-section">
<div class="application-settings-section-header">
diff --git a/resources/views/livewire/project/new/gitlab-private-repository.blade.php b/resources/views/livewire/project/new/gitlab-private-repository.blade.php
index 9678c14a33..8a88bf60c3 100644
--- a/resources/views/livewire/project/new/gitlab-private-repository.blade.php
+++ b/resources/views/livewire/project/new/gitlab-private-repository.blade.php
@@ -1,4 +1,4 @@
-<div class="mt-8 flex w-full max-w-[1180px] flex-col gap-6 lg:mt-3">
+<div class="mt-8 flex w-full max-w-none flex-col gap-6 lg:mt-3">
@if ($gitlab_apps->isEmpty())
<section class="application-settings-section">
<div class="application-settings-section-header">
diff --git a/resources/views/livewire/project/new/public-git-repository.blade.php b/resources/views/livewire/project/new/public-git-repository.blade.php
index 70e2389a1b..137d880eed 100644
--- a/resources/views/livewire/project/new/public-git-repository.blade.php
+++ b/resources/views/livewire/project/new/public-git-repository.blade.php
@@ -1,5 +1,5 @@
<div x-data x-init="$nextTick(() => { if ($refs.autofocusInput) $refs.autofocusInput.focus(); })"
- class="mt-8 flex w-full max-w-[1180px] flex-col gap-6 lg:mt-3">
+ class="mt-8 flex w-full max-w-none flex-col gap-6 lg:mt-3">
<form wire:submit="loadBranch">
<section class="application-settings-section">
<div class="application-settings-section-header">
diff --git a/resources/views/livewire/project/new/simple-dockerfile.blade.php b/resources/views/livewire/project/new/simple-dockerfile.blade.php
index 3c924996be..a57b768941 100644
--- a/resources/views/livewire/project/new/simple-dockerfile.blade.php
+++ b/resources/views/livewire/project/new/simple-dockerfile.blade.php
@@ -1,4 +1,4 @@
-<div class="mt-8 w-full max-w-[1180px] lg:mt-3">
+<div class="mt-8 w-full max-w-none lg:mt-3">
<form wire:submit="submit">
<section class="application-settings-section">
<div class="application-settings-section-header">
diff --git a/resources/views/livewire/project/service/configuration.blade.php b/resources/views/livewire/project/service/configuration.blade.php
index 5144ce4af2..beb6df6e27 100644
--- a/resources/views/livewire/project/service/configuration.blade.php
+++ b/resources/views/livewire/project/service/configuration.blade.php
@@ -54,8 +54,8 @@
]);
@endphp
- <section class="application-settings-workspace mt-4 w-full max-w-[1180px] lg:mt-0">
- <div class="grid min-w-0 gap-8 xl:grid-cols-[210px_minmax(0,1fr)] xl:gap-10">
+ <section class="application-settings-workspace mt-4 w-full max-w-none lg:mt-0">
+ <div class="grid min-w-0 gap-8 xl:grid-cols-[210px_minmax(0,1fr)] xl:gap-8">
<aside class="application-settings-navigation min-w-0 xl:self-start">
<nav aria-label="Service settings"
class="grid grid-cols-2 gap-0.5 border-y border-neutral-200 py-3 sm:grid-cols-3 lg:grid-cols-4 xl:grid-cols-1 xl:border-y-0 xl:py-0 dark:border-white/[0.06]">
diff --git a/resources/views/livewire/project/service/database-backups.blade.php b/resources/views/livewire/project/service/database-backups.blade.php
index 933b093358..9740b215a4 100644
--- a/resources/views/livewire/project/service/database-backups.blade.php
+++ b/resources/views/livewire/project/service/database-backups.blade.php
@@ -6,8 +6,8 @@
<livewire:project.service.heading :service="$service" :parameters="$parameters" :query="$query" />
- <section class="application-settings-workspace mt-4 w-full max-w-[1180px] lg:mt-0">
- <div class="grid min-w-0 gap-8 xl:grid-cols-[210px_minmax(0,1fr)] xl:gap-10">
+ <section class="application-settings-workspace mt-4 w-full max-w-none lg:mt-0">
+ <div class="grid min-w-0 gap-8 xl:grid-cols-[210px_minmax(0,1fr)] xl:gap-8">
@if ($backup)
<x-backup-sidebar context="service" :parameters="$backupParameters" :section="$section" />
@else
diff --git a/resources/views/livewire/project/service/heading.blade.php b/resources/views/livewire/project/service/heading.blade.php
index 780ff12e44..fd8f604cd3 100644
--- a/resources/views/livewire/project/service/heading.blade.php
+++ b/resources/views/livewire/project/service/heading.blade.php
@@ -1,4 +1,4 @@
-<nav wire:poll.10000ms="checkStatus" class="w-full max-w-[1180px] pb-4 md:pb-6 lg:pb-0">
+<nav wire:poll.10000ms="checkStatus" class="w-full max-w-none pb-4 md:pb-6 lg:pb-0">
@php
$servicePageItems = [
[
diff --git a/resources/views/livewire/project/service/index.blade.php b/resources/views/livewire/project/service/index.blade.php
index 39444c77ad..8faf4cfdac 100644
--- a/resources/views/livewire/project/service/index.blade.php
+++ b/resources/views/livewire/project/service/index.blade.php
@@ -1,7 +1,7 @@
<div>
<livewire:project.service.heading :service="$service" :parameters="$parameters" :query="$query" />
- <section class="application-settings-workspace mt-4 w-full max-w-[1180px] lg:mt-0">
- <div class="grid min-w-0 gap-8 xl:grid-cols-[210px_minmax(0,1fr)] xl:gap-10">
+ <section class="application-settings-workspace mt-4 w-full max-w-none lg:mt-0">
+ <div class="grid min-w-0 gap-8 xl:grid-cols-[210px_minmax(0,1fr)] xl:gap-8">
@if ($resourceType === 'database')
<x-service-database.sidebar :parameters="$parameters" :serviceDatabase="$serviceDatabase" :isImportSupported="$isImportSupported" />
@else
diff --git a/resources/views/livewire/project/service/volume-backup/index.blade.php b/resources/views/livewire/project/service/volume-backup/index.blade.php
index b5bea7d96d..9fa11f1f8a 100644
--- a/resources/views/livewire/project/service/volume-backup/index.blade.php
+++ b/resources/views/livewire/project/service/volume-backup/index.blade.php
@@ -56,8 +56,8 @@
<livewire:project.service.heading :service="$service" :parameters="$parameters" :query="request()->query()"
wire:key="service-heading-volume-backup-index" />
- <section class="application-settings-workspace mt-4 w-full max-w-[1180px] lg:mt-0">
- <div class="grid min-w-0 gap-8 xl:grid-cols-[210px_minmax(0,1fr)] xl:gap-10">
+ <section class="application-settings-workspace mt-4 w-full max-w-none lg:mt-0">
+ <div class="grid min-w-0 gap-8 xl:grid-cols-[210px_minmax(0,1fr)] xl:gap-8">
<x-service.configuration-sidebar :service="$service"
current-route="project.service.volume-backups.index" />
diff --git a/resources/views/livewire/project/service/volume-backup/show.blade.php b/resources/views/livewire/project/service/volume-backup/show.blade.php
index c0943ed813..e23a8a94cf 100644
--- a/resources/views/livewire/project/service/volume-backup/show.blade.php
+++ b/resources/views/livewire/project/service/volume-backup/show.blade.php
@@ -6,8 +6,8 @@
<livewire:project.service.heading :service="$service" :parameters="$parameters" :query="request()->query()"
wire:key="service-heading-volume-backup-show" />
- <section class="application-settings-workspace mt-4 w-full max-w-[1180px] lg:mt-0">
- <div class="grid min-w-0 gap-8 xl:grid-cols-[210px_minmax(0,1fr)] xl:gap-10">
+ <section class="application-settings-workspace mt-4 w-full max-w-none lg:mt-0">
+ <div class="grid min-w-0 gap-8 xl:grid-cols-[210px_minmax(0,1fr)] xl:gap-8">
<x-backup-sidebar context="service-volume" :parameters="$parameters" :section="$section" />
<div class="min-w-0">
diff --git a/resources/views/livewire/project/shared/execute-container-command.blade.php b/resources/views/livewire/project/shared/execute-container-command.blade.php
index e4a24f3389..edb53745ca 100644
--- a/resources/views/livewire/project/shared/execute-container-command.blade.php
+++ b/resources/views/livewire/project/shared/execute-container-command.blade.php
@@ -40,8 +40,8 @@
@endphp
@if (in_array($type, ['application', 'database', 'service', 'server'], true))
- <section class="application-settings-workspace mt-4 w-full max-w-[1180px] lg:mt-0">
- <div class="grid min-w-0 gap-8 xl:grid-cols-[210px_minmax(0,1fr)] xl:gap-10">
+ <section class="application-settings-workspace mt-4 w-full max-w-none lg:mt-0">
+ <div class="grid min-w-0 gap-8 xl:grid-cols-[210px_minmax(0,1fr)] xl:gap-8">
@if ($type === 'server')
<x-server.sidebar :server="$resource" activeMenu="terminal" />
@elseif ($type === 'application')
@@ -55,7 +55,7 @@
@endif
@if ($consoleUnavailable)
- <section class="mt-8 w-full max-w-[1180px] xl:mt-0">
+ <section class="mt-8 w-full max-w-none xl:mt-0">
@if ($type === 'server')
<x-empty size="lg" title="Terminal unavailable"
description="This server is not functional or terminal access is disabled."
@@ -67,7 +67,7 @@
@endif
</section>
@else
- <section class="mt-8 mb-0! h-[calc(100dvh-8rem)] min-h-[32rem] w-full max-w-[1180px] xl:mt-0"
+ <section class="mt-8 mb-0! h-[calc(100dvh-8rem)] min-h-[32rem] w-full max-w-none xl:mt-0"
x-on:terminal-theme-selected="setTheme($event.detail.theme)"
x-on:terminal-starting.window="syncTheme()"
x-data="{
diff --git a/resources/views/livewire/project/shared/logs.blade.php b/resources/views/livewire/project/shared/logs.blade.php
index 24bda5619c..0429dcafd3 100644
--- a/resources/views/livewire/project/shared/logs.blade.php
+++ b/resources/views/livewire/project/shared/logs.blade.php
@@ -24,8 +24,8 @@
@endphp
@if (in_array($type, ['application', 'database', 'service'], true))
- <section class="application-settings-workspace mt-4 w-full max-w-[1180px] lg:mt-0">
- <div class="grid min-w-0 gap-8 xl:grid-cols-[210px_minmax(0,1fr)] xl:gap-10">
+ <section class="application-settings-workspace mt-4 w-full max-w-none lg:mt-0">
+ <div class="grid min-w-0 gap-8 xl:grid-cols-[210px_minmax(0,1fr)] xl:gap-8">
@if ($type === 'application')
<x-application.configuration-sidebar :application="$resource" current-route="project.application.logs" />
@elseif ($type === 'database')
diff --git a/resources/views/livewire/server/advanced.blade.php b/resources/views/livewire/server/advanced.blade.php
index 4c2845f934..48f63f02e9 100644
--- a/resources/views/livewire/server/advanced.blade.php
+++ b/resources/views/livewire/server/advanced.blade.php
@@ -6,7 +6,7 @@
<livewire:server.navbar :server="$server" />
<div
- class="server-settings-workspace application-settings-workspace mt-4 grid w-full max-w-[1180px] min-w-0 gap-8 lg:mt-0 xl:grid-cols-[210px_minmax(0,1fr)] xl:gap-10">
+ class="server-settings-workspace application-settings-workspace mt-4 grid w-full max-w-none min-w-0 gap-8 lg:mt-0 xl:grid-cols-[210px_minmax(0,1fr)] xl:gap-8">
<x-server.sidebar :server="$server" activeMenu="advanced" />
<form wire:submit="submit" class="application-settings-form flex w-full flex-col gap-6">
diff --git a/resources/views/livewire/server/ca-certificate/show.blade.php b/resources/views/livewire/server/ca-certificate/show.blade.php
index 3f4fc3fbdc..94d2050dc2 100644
--- a/resources/views/livewire/server/ca-certificate/show.blade.php
+++ b/resources/views/livewire/server/ca-certificate/show.blade.php
@@ -6,7 +6,7 @@
<livewire:server.navbar :server="$server" />
<div
- class="server-settings-workspace application-settings-workspace mt-4 grid w-full max-w-[1180px] min-w-0 gap-8 lg:mt-0 xl:grid-cols-[210px_minmax(0,1fr)] xl:gap-10">
+ class="server-settings-workspace application-settings-workspace mt-4 grid w-full max-w-none min-w-0 gap-8 lg:mt-0 xl:grid-cols-[210px_minmax(0,1fr)] xl:gap-8">
<x-server.sidebar :server="$server" activeMenu="ca-certificate" />
<div class="application-settings-form flex w-full flex-col gap-6">
diff --git a/resources/views/livewire/server/charts.blade.php b/resources/views/livewire/server/charts.blade.php
index cd88495461..da992ded2d 100644
--- a/resources/views/livewire/server/charts.blade.php
+++ b/resources/views/livewire/server/charts.blade.php
@@ -6,7 +6,7 @@
<livewire:server.navbar :server="$server" />
<div
- class="server-settings-workspace application-settings-workspace mt-4 grid w-full max-w-[1180px] min-w-0 gap-8 lg:mt-0 xl:grid-cols-[210px_minmax(0,1fr)] xl:gap-10">
+ class="server-settings-workspace application-settings-workspace mt-4 grid w-full max-w-none min-w-0 gap-8 lg:mt-0 xl:grid-cols-[210px_minmax(0,1fr)] xl:gap-8">
<x-server.sidebar :server="$server" activeMenu="metrics" />
<div class="application-settings-form flex w-full flex-col gap-6"
diff --git a/resources/views/livewire/server/cloud-provider-token/show.blade.php b/resources/views/livewire/server/cloud-provider-token/show.blade.php
index 2662e6f76a..5c4fe5d98f 100644
--- a/resources/views/livewire/server/cloud-provider-token/show.blade.php
+++ b/resources/views/livewire/server/cloud-provider-token/show.blade.php
@@ -6,7 +6,7 @@
<livewire:server.navbar :server="$server" />
<div
- class="server-settings-workspace application-settings-workspace mt-4 grid w-full max-w-[1180px] min-w-0 gap-8 lg:mt-0 xl:grid-cols-[210px_minmax(0,1fr)] xl:gap-10">
+ class="server-settings-workspace application-settings-workspace mt-4 grid w-full max-w-none min-w-0 gap-8 lg:mt-0 xl:grid-cols-[210px_minmax(0,1fr)] xl:gap-8">
<x-server.sidebar :server="$server" activeMenu="cloud-provider-token" />
<div class="application-settings-form w-full">
diff --git a/resources/views/livewire/server/cloudflare-tunnel.blade.php b/resources/views/livewire/server/cloudflare-tunnel.blade.php
index 0f36269b79..2e7ea504ff 100644
--- a/resources/views/livewire/server/cloudflare-tunnel.blade.php
+++ b/resources/views/livewire/server/cloudflare-tunnel.blade.php
@@ -6,7 +6,7 @@
<livewire:server.navbar :server="$server" />
<div
- class="server-settings-workspace application-settings-workspace mt-4 grid w-full max-w-[1180px] min-w-0 gap-8 lg:mt-0 xl:grid-cols-[210px_minmax(0,1fr)] xl:gap-10">
+ class="server-settings-workspace application-settings-workspace mt-4 grid w-full max-w-none min-w-0 gap-8 lg:mt-0 xl:grid-cols-[210px_minmax(0,1fr)] xl:gap-8">
<x-server.sidebar :server="$server" activeMenu="cloudflare-tunnel" />
<div class="application-settings-form flex w-full flex-col gap-6">
diff --git a/resources/views/livewire/server/delete.blade.php b/resources/views/livewire/server/delete.blade.php
index 9c279e7df6..90d51bf3ca 100644
--- a/resources/views/livewire/server/delete.blade.php
+++ b/resources/views/livewire/server/delete.blade.php
@@ -6,7 +6,7 @@
<livewire:server.navbar :server="$server" />
<div
- class="server-settings-workspace application-settings-workspace mt-4 grid w-full max-w-[1180px] min-w-0 gap-8 lg:mt-0 xl:grid-cols-[210px_minmax(0,1fr)] xl:gap-10">
+ class="server-settings-workspace application-settings-workspace mt-4 grid w-full max-w-none min-w-0 gap-8 lg:mt-0 xl:grid-cols-[210px_minmax(0,1fr)] xl:gap-8">
<x-server.sidebar :server="$server" activeMenu="danger" />
<div class="application-settings-form w-full">
diff --git a/resources/views/livewire/server/destinations.blade.php b/resources/views/livewire/server/destinations.blade.php
index 40c916013f..250531677c 100644
--- a/resources/views/livewire/server/destinations.blade.php
+++ b/resources/views/livewire/server/destinations.blade.php
@@ -6,7 +6,7 @@
<livewire:server.navbar :server="$server" />
<div
- class="server-settings-workspace application-settings-workspace mt-4 grid w-full max-w-[1180px] min-w-0 gap-8 lg:mt-0 xl:grid-cols-[210px_minmax(0,1fr)] xl:gap-10">
+ class="server-settings-workspace application-settings-workspace mt-4 grid w-full max-w-none min-w-0 gap-8 lg:mt-0 xl:grid-cols-[210px_minmax(0,1fr)] xl:gap-8">
<x-server.sidebar :server="$server" activeMenu="destinations" />
<div class="application-settings-form flex w-full flex-col gap-6">
diff --git a/resources/views/livewire/server/docker-cleanup.blade.php b/resources/views/livewire/server/docker-cleanup.blade.php
index d50ead8195..e12f4cd3da 100644
--- a/resources/views/livewire/server/docker-cleanup.blade.php
+++ b/resources/views/livewire/server/docker-cleanup.blade.php
@@ -6,7 +6,7 @@
<livewire:server.navbar :server="$server" />
<div
- class="server-settings-workspace application-settings-workspace mt-4 grid w-full max-w-[1180px] min-w-0 gap-8 lg:mt-0 xl:grid-cols-[210px_minmax(0,1fr)] xl:gap-10">
+ class="server-settings-workspace application-settings-workspace mt-4 grid w-full max-w-none min-w-0 gap-8 lg:mt-0 xl:grid-cols-[210px_minmax(0,1fr)] xl:gap-8">
<x-server.sidebar :server="$server" activeMenu="docker-cleanup" />
<div class="application-settings-form flex w-full flex-col gap-6">
diff --git a/resources/views/livewire/server/log-drains.blade.php b/resources/views/livewire/server/log-drains.blade.php
index 1efab3ca12..66f7985032 100644
--- a/resources/views/livewire/server/log-drains.blade.php
+++ b/resources/views/livewire/server/log-drains.blade.php
@@ -6,7 +6,7 @@
<livewire:server.navbar :server="$server" />
<div
- class="server-settings-workspace application-settings-workspace mt-4 grid w-full max-w-[1180px] min-w-0 gap-8 lg:mt-0 xl:grid-cols-[210px_minmax(0,1fr)] xl:gap-10">
+ class="server-settings-workspace application-settings-workspace mt-4 grid w-full max-w-none min-w-0 gap-8 lg:mt-0 xl:grid-cols-[210px_minmax(0,1fr)] xl:gap-8">
<x-server.sidebar :server="$server" activeMenu="log-drains" />
<div class="application-settings-form flex w-full flex-col gap-6">
diff --git a/resources/views/livewire/server/navbar.blade.php b/resources/views/livewire/server/navbar.blade.php
index 89ae3ad88a..7879f5727f 100644
--- a/resources/views/livewire/server/navbar.blade.php
+++ b/resources/views/livewire/server/navbar.blade.php
@@ -1,4 +1,4 @@
-<nav class="w-full max-w-[1180px] pb-3 lg:pb-0">
+<nav class="w-full max-w-none pb-3 lg:pb-0">
<x-process-dialog @startproxy.window="processDialogOpen = true" closeWithX>
<x-slot:title>Proxy Startup Logs</x-slot:title>
<x-slot:content>
diff --git a/resources/views/livewire/server/private-key/show.blade.php b/resources/views/livewire/server/private-key/show.blade.php
index fd11a217b5..bf938a888d 100644
--- a/resources/views/livewire/server/private-key/show.blade.php
+++ b/resources/views/livewire/server/private-key/show.blade.php
@@ -6,7 +6,7 @@
<livewire:server.navbar :server="$server" />
<div
- class="server-settings-workspace application-settings-workspace mt-4 grid w-full max-w-[1180px] min-w-0 gap-8 lg:mt-0 xl:grid-cols-[210px_minmax(0,1fr)] xl:gap-10">
+ class="server-settings-workspace application-settings-workspace mt-4 grid w-full max-w-none min-w-0 gap-8 lg:mt-0 xl:grid-cols-[210px_minmax(0,1fr)] xl:gap-8">
<x-server.sidebar :server="$server" activeMenu="private-key" />
<div class="application-settings-form flex w-full flex-col gap-6">
diff --git a/resources/views/livewire/server/proxy/dynamic-configurations.blade.php b/resources/views/livewire/server/proxy/dynamic-configurations.blade.php
index 8b5c4fab44..6e2016370d 100644
--- a/resources/views/livewire/server/proxy/dynamic-configurations.blade.php
+++ b/resources/views/livewire/server/proxy/dynamic-configurations.blade.php
@@ -6,7 +6,7 @@
<livewire:server.navbar :server="$server" />
<div
- class="server-settings-workspace application-settings-workspace mt-4 grid w-full max-w-[1180px] min-w-0 gap-8 lg:mt-0 xl:grid-cols-[210px_minmax(0,1fr)] xl:gap-10">
+ class="server-settings-workspace application-settings-workspace mt-4 grid w-full max-w-none min-w-0 gap-8 lg:mt-0 xl:grid-cols-[210px_minmax(0,1fr)] xl:gap-8">
<x-server.sidebar :server="$server" activeMenu="proxy" activeSubMenu="dynamic-confs" />
<div class="application-settings-form flex w-full flex-col gap-6">
diff --git a/resources/views/livewire/server/proxy/logs.blade.php b/resources/views/livewire/server/proxy/logs.blade.php
index be461ef75e..777e0d677b 100644
--- a/resources/views/livewire/server/proxy/logs.blade.php
+++ b/resources/views/livewire/server/proxy/logs.blade.php
@@ -4,7 +4,7 @@
</x-slot>
<livewire:server.navbar :server="$server" />
<div
- class="server-settings-workspace application-settings-workspace mt-4 grid w-full max-w-[1180px] min-w-0 gap-8 lg:mt-0 xl:grid-cols-[210px_minmax(0,1fr)] xl:gap-10">
+ class="server-settings-workspace application-settings-workspace mt-4 grid w-full max-w-none min-w-0 gap-8 lg:mt-0 xl:grid-cols-[210px_minmax(0,1fr)] xl:gap-8">
<x-server.sidebar :server="$server" activeMenu="proxy" activeSubMenu="logs" />
<div class="application-settings-form w-full">
<x-application.settings-section title="Proxy logs"
diff --git a/resources/views/livewire/server/proxy/show.blade.php b/resources/views/livewire/server/proxy/show.blade.php
index 59052fcd0f..7708f8e524 100644
--- a/resources/views/livewire/server/proxy/show.blade.php
+++ b/resources/views/livewire/server/proxy/show.blade.php
@@ -4,7 +4,7 @@
</x-slot>
<livewire:server.navbar :server="$server" />
<div
- class="server-settings-workspace application-settings-workspace mt-4 grid w-full max-w-[1180px] min-w-0 gap-8 lg:mt-0 xl:grid-cols-[210px_minmax(0,1fr)] xl:gap-10">
+ class="server-settings-workspace application-settings-workspace mt-4 grid w-full max-w-none min-w-0 gap-8 lg:mt-0 xl:grid-cols-[210px_minmax(0,1fr)] xl:gap-8">
<x-server.sidebar :server="$server" activeMenu="proxy" activeSubMenu="configuration" />
@if ($server->isFunctional())
<div class="w-full">
diff --git a/resources/views/livewire/server/resources.blade.php b/resources/views/livewire/server/resources.blade.php
index 1ab1744b5c..491535dd62 100644
--- a/resources/views/livewire/server/resources.blade.php
+++ b/resources/views/livewire/server/resources.blade.php
@@ -5,7 +5,7 @@
<livewire:server.navbar :server="$server" />
- <div class="server-settings-workspace application-settings-workspace mt-4 grid w-full max-w-[1180px] min-w-0 gap-8 lg:mt-0 xl:grid-cols-[210px_minmax(0,1fr)] xl:gap-10">
+ <div class="server-settings-workspace application-settings-workspace mt-4 grid w-full max-w-none min-w-0 gap-8 lg:mt-0 xl:grid-cols-[210px_minmax(0,1fr)] xl:gap-8">
<x-server.sidebar :server="$server" activeMenu="resources" />
<div class="application-settings-form min-w-0 w-full">
<x-application.settings-section id="server-resources-section" title="Resources"
diff --git a/resources/views/livewire/server/security/patches.blade.php b/resources/views/livewire/server/security/patches.blade.php
index 6a88d8d405..d490b6f1db 100644
--- a/resources/views/livewire/server/security/patches.blade.php
+++ b/resources/views/livewire/server/security/patches.blade.php
@@ -15,7 +15,7 @@
</x-process-dialog>
<div
- class="server-settings-workspace application-settings-workspace mt-4 grid w-full max-w-[1180px] min-w-0 gap-8 lg:mt-0 xl:grid-cols-[210px_minmax(0,1fr)] xl:gap-10">
+ class="server-settings-workspace application-settings-workspace mt-4 grid w-full max-w-none min-w-0 gap-8 lg:mt-0 xl:grid-cols-[210px_minmax(0,1fr)] xl:gap-8">
<x-server.sidebar :server="$server" activeMenu="security" />
<div class="application-settings-form flex w-full flex-col gap-6">
diff --git a/resources/views/livewire/server/security/terminal-access.blade.php b/resources/views/livewire/server/security/terminal-access.blade.php
index ce446a40c2..88d46e6469 100644
--- a/resources/views/livewire/server/security/terminal-access.blade.php
+++ b/resources/views/livewire/server/security/terminal-access.blade.php
@@ -6,7 +6,7 @@
<livewire:server.navbar :server="$server" />
<div
- class="server-settings-workspace application-settings-workspace mt-4 grid w-full max-w-[1180px] min-w-0 gap-8 lg:mt-0 xl:grid-cols-[210px_minmax(0,1fr)] xl:gap-10">
+ class="server-settings-workspace application-settings-workspace mt-4 grid w-full max-w-none min-w-0 gap-8 lg:mt-0 xl:grid-cols-[210px_minmax(0,1fr)] xl:gap-8">
<x-server.sidebar :server="$server" activeMenu="security" />
<div class="application-settings-form w-full">
diff --git a/resources/views/livewire/server/sentinel/logs.blade.php b/resources/views/livewire/server/sentinel/logs.blade.php
index aedd19dc45..455bb55bb2 100644
--- a/resources/views/livewire/server/sentinel/logs.blade.php
+++ b/resources/views/livewire/server/sentinel/logs.blade.php
@@ -4,7 +4,7 @@
</x-slot>
<livewire:server.navbar :server="$server" />
<div
- class="server-settings-workspace application-settings-workspace mt-4 grid w-full max-w-[1180px] min-w-0 gap-8 lg:mt-0 xl:grid-cols-[210px_minmax(0,1fr)] xl:gap-10">
+ class="server-settings-workspace application-settings-workspace mt-4 grid w-full max-w-none min-w-0 gap-8 lg:mt-0 xl:grid-cols-[210px_minmax(0,1fr)] xl:gap-8">
<x-server.sidebar :server="$server" activeMenu="sentinel" />
<div class="application-settings-form w-full">
<x-application.settings-section title="Sentinel logs"
diff --git a/resources/views/livewire/server/sentinel/show.blade.php b/resources/views/livewire/server/sentinel/show.blade.php
index 90055f1cbf..139ad9d29b 100644
--- a/resources/views/livewire/server/sentinel/show.blade.php
+++ b/resources/views/livewire/server/sentinel/show.blade.php
@@ -4,7 +4,7 @@
</x-slot>
<livewire:server.navbar :server="$server" />
<div
- class="server-settings-workspace application-settings-workspace mt-4 grid w-full max-w-[1180px] min-w-0 gap-8 lg:mt-0 xl:grid-cols-[210px_minmax(0,1fr)] xl:gap-10">
+ class="server-settings-workspace application-settings-workspace mt-4 grid w-full max-w-none min-w-0 gap-8 lg:mt-0 xl:grid-cols-[210px_minmax(0,1fr)] xl:gap-8">
<x-server.sidebar :server="$server" activeMenu="sentinel" />
@if ($server->isFunctional())
<div class="w-full">
diff --git a/resources/views/livewire/server/show.blade.php b/resources/views/livewire/server/show.blade.php
index 5130216287..d2d28f0955 100644
--- a/resources/views/livewire/server/show.blade.php
+++ b/resources/views/livewire/server/show.blade.php
@@ -7,7 +7,7 @@
<livewire:server.navbar :server="$server" />
<div
- class="server-settings-workspace application-settings-workspace mt-4 grid w-full max-w-[1180px] min-w-0 gap-8 lg:mt-0 xl:grid-cols-[210px_minmax(0,1fr)] xl:gap-10">
+ class="server-settings-workspace application-settings-workspace mt-4 grid w-full max-w-none min-w-0 gap-8 lg:mt-0 xl:grid-cols-[210px_minmax(0,1fr)] xl:gap-8">
<x-server.sidebar :server="$server" activeMenu="general" />
<div class="w-full min-w-0">
@if ($server->isLocalhost())
diff --git a/resources/views/livewire/server/swarm.blade.php b/resources/views/livewire/server/swarm.blade.php
index 2c6a23624f..8d807fcc5b 100644
--- a/resources/views/livewire/server/swarm.blade.php
+++ b/resources/views/livewire/server/swarm.blade.php
@@ -6,7 +6,7 @@
<livewire:server.navbar :server="$server" />
<div
- class="server-settings-workspace application-settings-workspace mt-4 grid w-full max-w-[1180px] min-w-0 gap-8 lg:mt-0 xl:grid-cols-[210px_minmax(0,1fr)] xl:gap-10">
+ class="server-settings-workspace application-settings-workspace mt-4 grid w-full max-w-none min-w-0 gap-8 lg:mt-0 xl:grid-cols-[210px_minmax(0,1fr)] xl:gap-8">
<x-server.sidebar :server="$server" activeMenu="swarm" />
<div class="application-settings-form w-full">
diff --git a/resources/views/livewire/server/transfer.blade.php b/resources/views/livewire/server/transfer.blade.php
index 6480468124..223cbfcd4e 100644
--- a/resources/views/livewire/server/transfer.blade.php
+++ b/resources/views/livewire/server/transfer.blade.php
@@ -6,7 +6,7 @@
<livewire:server.navbar :server="$server" />
<div
- class="server-settings-workspace application-settings-workspace mt-4 grid w-full max-w-[1180px] min-w-0 gap-8 lg:mt-0 xl:grid-cols-[210px_minmax(0,1fr)] xl:gap-10">
+ class="server-settings-workspace application-settings-workspace mt-4 grid w-full max-w-none min-w-0 gap-8 lg:mt-0 xl:grid-cols-[210px_minmax(0,1fr)] xl:gap-8">
<x-server.sidebar :server="$server" activeMenu="transfer" />
<div class="application-settings-form flex w-full flex-col gap-6">
diff --git a/resources/views/livewire/settings-backup.blade.php b/resources/views/livewire/settings-backup.blade.php
index 7902bb15ad..c89bf148cf 100644
--- a/resources/views/livewire/settings-backup.blade.php
+++ b/resources/views/livewire/settings-backup.blade.php
@@ -4,7 +4,7 @@
</x-slot>
<x-settings.layout>
- <div class="application-settings-form mx-auto flex w-full max-w-[1180px] min-w-0 flex-col gap-6">
+ <div class="application-settings-form mx-auto flex w-full max-w-none min-w-0 flex-col gap-6">
@if ($server->isFunctional())
@if (isset($database) && isset($backup))
<form wire:submit="submit">
diff --git a/resources/views/livewire/settings-email.blade.php b/resources/views/livewire/settings-email.blade.php
index bf275dcff3..8866b66b02 100644
--- a/resources/views/livewire/settings-email.blade.php
+++ b/resources/views/livewire/settings-email.blade.php
@@ -4,7 +4,7 @@
</x-slot>
<x-settings.layout>
- <div class="application-settings-form mx-auto flex w-full max-w-[1180px] min-w-0 flex-col gap-6">
+ <div class="application-settings-form mx-auto flex w-full max-w-none min-w-0 flex-col gap-6">
{{-- One bar for the whole page. Three stacked bars made Save run
submitResend(), which required an API key even when Resend was off. --}}
<x-unsaved-bar action="submit"
diff --git a/resources/views/livewire/settings/scheduled-jobs.blade.php b/resources/views/livewire/settings/scheduled-jobs.blade.php
index 838bb6da49..11d0e5fdd2 100644
--- a/resources/views/livewire/settings/scheduled-jobs.blade.php
+++ b/resources/views/livewire/settings/scheduled-jobs.blade.php
@@ -4,7 +4,7 @@
</x-slot>
<x-settings.layout>
- <div class="application-settings-form mx-auto w-full max-w-[1180px] min-w-0" x-data="{
+ <div class="application-settings-form mx-auto w-full max-w-none min-w-0" x-data="{
activeTab: ['executions', 'scheduler-runs', 'skipped-jobs'].includes(location.hash.slice(1))
? location.hash.slice(1)
: 'executions',
diff --git a/resources/views/livewire/source/github/change.blade.php b/resources/views/livewire/source/github/change.blade.php
index abde530225..5cafb3edb3 100644
--- a/resources/views/livewire/source/github/change.blade.php
+++ b/resources/views/livewire/source/github/change.blade.php
@@ -41,8 +41,8 @@
:mobileTitleOnly="true" />
@if ($showSettingsSidebar)
- <section class="application-settings-workspace mt-4 w-full max-w-[1180px] lg:mt-0">
- <div class="grid min-w-0 gap-8 xl:grid-cols-[210px_minmax(0,1fr)] xl:gap-10">
+ <section class="application-settings-workspace mt-4 w-full max-w-none lg:mt-0">
+ <div class="grid min-w-0 gap-8 xl:grid-cols-[210px_minmax(0,1fr)] xl:gap-8">
<aside class="application-settings-navigation min-w-0 xl:self-start">
<nav aria-label="GitHub App settings"
class="grid grid-cols-2 gap-0.5 border-y border-neutral-200 py-3 sm:grid-cols-3 lg:grid-cols-4 xl:grid-cols-1 xl:border-y-0 xl:py-0 dark:border-white/[0.06]">
diff --git a/resources/views/livewire/storage/show.blade.php b/resources/views/livewire/storage/show.blade.php
index f79f950864..c74938a4d3 100644
--- a/resources/views/livewire/storage/show.blade.php
+++ b/resources/views/livewire/storage/show.blade.php
@@ -34,8 +34,8 @@
:mobileTitleOnly="true" />
@if ($showSettingsSidebar)
- <section class="application-settings-workspace mt-4 w-full max-w-[1180px] lg:mt-0">
- <div class="grid min-w-0 gap-8 xl:grid-cols-[210px_minmax(0,1fr)] xl:gap-10">
+ <section class="application-settings-workspace mt-4 w-full max-w-none lg:mt-0">
+ <div class="grid min-w-0 gap-8 xl:grid-cols-[210px_minmax(0,1fr)] xl:gap-8">
<aside class="application-settings-navigation min-w-0 xl:self-start">
<nav aria-label="S3 storage settings"
class="grid grid-cols-2 gap-0.5 border-y border-neutral-200 py-3 sm:grid-cols-3 lg:grid-cols-4 xl:grid-cols-1 xl:border-y-0 xl:py-0 dark:border-white/[0.06]">
diff --git a/resources/views/livewire/subscription/index.blade.php b/resources/views/livewire/subscription/index.blade.php
index 30fd8bca34..7fb0f67a2c 100644
--- a/resources/views/livewire/subscription/index.blade.php
+++ b/resources/views/livewire/subscription/index.blade.php
@@ -1,4 +1,4 @@
-<div class="application-settings-form w-full max-w-[1180px]">
+<div class="application-settings-form w-full max-w-none">
<x-slot:title>
Subscribe | Coolify
</x-slot>
diff --git a/resources/views/livewire/subscription/show.blade.php b/resources/views/livewire/subscription/show.blade.php
index 21504c71dc..bd178cb59e 100644
--- a/resources/views/livewire/subscription/show.blade.php
+++ b/resources/views/livewire/subscription/show.blade.php
@@ -1,4 +1,4 @@
-<div class="application-settings-form w-full max-w-[1180px]">
+<div class="application-settings-form w-full max-w-none">
<x-slot:title>
Subscription | Coolify
</x-slot>
diff --git a/tests/Feature/BreadcrumbSelectionStyleTest.php b/tests/Feature/BreadcrumbSelectionStyleTest.php
index d04f9535e4..d851faa5e9 100644
--- a/tests/Feature/BreadcrumbSelectionStyleTest.php
+++ b/tests/Feature/BreadcrumbSelectionStyleTest.php
@@ -57,3 +57,16 @@ test('top breadcrumb lets users switch between resources in the current environm
->toContain("'database' => route('project.database.configuration'")
->toContain("'service' => route('project.service.configuration'");
});
+
+test('breadcrumb switchers let users search their items', function () {
+ $switcher = file_get_contents(resource_path('views/components/breadcrumb-switcher.blade.php'));
+
+ expect($switcher)
+ ->toContain('x-model.debounce.150ms="search"')
+ ->toContain('type="search"')
+ ->toContain('placeholder="Search {{ strtolower($title) }}"')
+ ->toContain('class="searchable-listbox-search"')
+ ->toContain('class="searchable-listbox-search-input"')
+ ->toContain('<x-reicon name="search"')
+ ->toContain('.includes(search.toLowerCase())');
+});
diff --git a/tests/Feature/FullWidthResourceLayoutTest.php b/tests/Feature/FullWidthResourceLayoutTest.php
new file mode 100644
index 0000000000..9cdfbdc52a
--- /dev/null
+++ b/tests/Feature/FullWidthResourceLayoutTest.php
@@ -0,0 +1,16 @@
+<?php
+
+test('the application shell and resource workspaces use the full available width', function () {
+ $appLayout = file_get_contents(resource_path('views/layouts/app.blade.php'));
+ $applicationConfiguration = file_get_contents(resource_path('views/livewire/project/application/configuration.blade.php'));
+ $serverConfiguration = file_get_contents(resource_path('views/livewire/server/show.blade.php'));
+
+ expect($appLayout)
+ ->toContain("pageWidth === 'centered' ? 'mx-auto max-w-[1400px]' : 'max-w-none'")
+ ->and($applicationConfiguration)
+ ->not->toContain('max-w-[1180px]')
+ ->toContain('xl:gap-8')
+ ->and($serverConfiguration)
+ ->not->toContain('max-w-[1180px]')
+ ->toContain('xl:gap-8');
+});
diff --git a/tests/Feature/ProfileAppearanceNavigationTest.php b/tests/Feature/ProfileAppearanceNavigationTest.php
index 3318ae684c..a0ee4c30ef 100644
--- a/tests/Feature/ProfileAppearanceNavigationTest.php
+++ b/tests/Feature/ProfileAppearanceNavigationTest.php
@@ -34,23 +34,23 @@ it('does not show a redundant enabled badge for two-factor authentication', func
->not->toContain('<x-status-badge status="Enabled" type="success" />');
});
-it('keeps color theme preferences on the profile appearance view without page width or density controls', function () {
+it('offers full and centered page width preferences on the profile appearance view', function () {
$appearanceView = file_get_contents(resource_path('views/livewire/profile/appearance.blade.php'));
+ $appLayout = file_get_contents(resource_path('views/layouts/app.blade.php'));
expect($appearanceView)
->not->toContain('<x-profile.navbar />')
->toContain('Color theme')
- ->toContain("setTheme('{{ \$option['value'] }}')")
- ->toContain("['value' => 'light'")
- ->toContain("['value' => 'system'")
- ->toContain('to-[#050505]')
- ->toContain("['value' => 'dark'")
- ->not->toContain('Page width')
+ ->toContain('Page width')
+ ->toContain("pageWidth: localStorage.getItem('pageWidth') || 'full'")
+ ->toContain("['value' => 'full'")
+ ->toContain("['value' => 'centered'")
+ ->toContain("@click=\"setWidth('{{ \$option['value'] }}')\"")
+ ->toContain("localStorage.setItem('pageWidth', width)")
->not->toContain('Interface density')
- ->not->toContain('setWidth(')
->not->toContain('setZoom(')
- ->not->toContain('pageWidth')
- ->not->toContain("localStorage.getItem('zoom')")
- ->not->toContain("localStorage.setItem('pageWidth'")
- ->not->toContain("localStorage.setItem('zoom'");
+ ->and($appLayout)
+ ->toContain("pageWidth: localStorage.getItem('pageWidth') || 'full'")
+ ->toContain('@page-width-changed.window="pageWidth = $event.detail"')
+ ->toContain("pageWidth === 'centered' ? 'mx-auto max-w-[1400px]' : 'max-w-none'");
});
diff --git a/tests/Feature/TablePaginationLoadingTest.php b/tests/Feature/TablePaginationLoadingTest.php
index 2b7a8a5fa4..f6e5f5a81a 100644
--- a/tests/Feature/TablePaginationLoadingTest.php
+++ b/tests/Feature/TablePaginationLoadingTest.php
@@ -7,25 +7,25 @@ it('renders the shared page size selector', function () {
expect($html)
->toContain('aria-label="Items per page"')
+ ->toContain('aria-haspopup="listbox"')
+ ->toContain('role="listbox"')
->toContain("\$wire.set('perPage'")
->toContain('h-7!')
->toContain('w-12!')
- ->toContain('opacity-0')
->toContain('selectedPageSize')
->toContain('border-0')
->toContain('text-[11px]!')
->toContain('mb-0!')
+ ->not->toContain('<select')
->toContain("localStorage.getItem('tests.page-size')")
->toContain("localStorage.setItem('tests.page-size'")
- ->toContain('value="10"')
- ->toContain('value="25"')
- ->toContain('value="50"')
- ->toContain('value="100"');
+ ->toContain('applyPageSize(10)')
+ ->toContain('applyPageSize(25)')
+ ->toContain('applyPageSize(50)')
+ ->toContain('applyPageSize(100)')
+ ->not->toContain('>Rows</span>');
expect($html)
- ->toContain('value="custom"')
- ->toContain('data-custom-page-size')
- ->toContain('customOption?.remove()')
- ->not->toContain('<option value="" disabled selected>')
+ ->toContain('Custom…')
->toContain('min="1"')
->toContain('max="100"');
});
diff --git a/tests/Feature/TopUserMenuTest.php b/tests/Feature/TopUserMenuTest.php
index bc817bb858..6dff0a9d74 100644
--- a/tests/Feature/TopUserMenuTest.php
+++ b/tests/Feature/TopUserMenuTest.php
@@ -65,3 +65,17 @@ it('changes appearance from a submenu instead of navigating to a separate page',
->toContain('hover:bg-neutral-200 hover:text-neutral-950')
->not->toContain("route('profile.appearance')");
});
+
+it('offers page width controls inside the appearance menu', function () {
+ $menu = file_get_contents(resource_path('views/components/top-user-menu.blade.php'));
+
+ expect($menu)
+ ->toContain("pageWidth: localStorage.getItem('pageWidth') || 'full'")
+ ->toContain("['value' => 'full', 'label' => 'Full width']")
+ ->toContain("['value' => 'centered', 'label' => 'Centered']")
+ ->toContain("@click=\"setWidth('{{ \$option['value'] }}')\"")
+ ->toContain('Full width')
+ ->toContain('Centered')
+ ->toContain("localStorage.setItem('pageWidth', width)")
+ ->toContain("new CustomEvent('page-width-changed', { detail: width })");
+});