mirror of
https://github.com/coollabsio/coolify.git
synced 2026-08-24 02:24:11 -05:00
fix(table): keep page-size dropdown within viewport (#11349)
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
</div>
|
||||
|
||||
<div x-ref="panel" x-show="open" x-cloak :style="panelStyle"
|
||||
class="listbox-panel fixed! top-auto! right-auto! bottom-auto! z-[90]! mt-0! {{ $panelClass }}" role="{{ $role }}"
|
||||
class="listbox-panel fixed! right-auto! bottom-auto! z-[90]! mt-0! {{ $panelClass }}" role="{{ $role }}"
|
||||
@if ($multiselectable) aria-multiselectable="true" @endif>
|
||||
{{ $slot }}
|
||||
</div>
|
||||
|
||||
@@ -41,7 +41,8 @@ it('positions table dropdown panels outside overflowing containers', function ()
|
||||
expect($html)
|
||||
->toContain('position: fixed')
|
||||
->toContain('getBoundingClientRect()')
|
||||
->toContain('x-on:scroll.window');
|
||||
->toContain('x-on:scroll.window')
|
||||
->not->toContain('top-auto!');
|
||||
});
|
||||
|
||||
it('renders compact client-side pagination', function () {
|
||||
|
||||
Reference in New Issue
Block a user