mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-13 22:15:35 +00:00
feat(ui): add configurable page widths and searchable controls
Add full-width and centered layout preferences across the app shell and workspaces. Replace page-size selects with dropdowns and add searchable breadcrumb switching.
This commit is contained in:
1 parent
b3b4d8a5f1
commit
5b517f21be
75 files changed
+263
-148
No files matched your search
@@ -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');
|
||||
});
|
||||
Reference in new issue
Block a user