mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-15 08:17:02 +00:00
fix(domains): preserve ports in split URL inputs (#11328)
This commit is contained in:
1 parent
5872cc095c
commit
282227b238
17 files changed
+182
-161
No files matched your search
@@ -60,6 +60,15 @@ test('mobile listbox panels stay anchored to their trigger', function () {
|
||||
->not->toContain('transform: translate(-50%, -50%) !important;');
|
||||
});
|
||||
|
||||
test('portaled listboxes measure content without inheriting the viewport width', function () {
|
||||
$listbox = file_get_contents(resource_path('views/components/forms/listbox.blade.php'));
|
||||
|
||||
expect($listbox)
|
||||
->toContain("panel.style.width = 'max-content';")
|
||||
->toContain('panel.style.minWidth = `${triggerRect.width}px`;')
|
||||
->toContain('Math.max(triggerRect.width, panel.offsetWidth)');
|
||||
});
|
||||
|
||||
test('searchable listbox component uses shared trigger label truncation', function () {
|
||||
$html = Blade::render(<<<'BLADE'
|
||||
<x-forms.searchable-listbox id="tz" label="Timezone"
|
||||
|
||||
Reference in new issue
Block a user