orchidsoftware / platform

Orchid is a @laravel package that allows for rapid application development of back-office applications, admin/user panels, and dashboards.
https://orchid.software
MIT License
4.45k stars 655 forks source link

Column Visibility Menu Overlaps with Tab Titles #2894

Closed ezhevak closed 1 month ago

ezhevak commented 2 months ago

Describe the bug
The column visibility menu overlaps with the tab titles.

To Reproduce

Layout::tabs([
    __('messages.deals.list') => [
        DealListLayout::class,
    ],
]);

In the DealListLayout, the following is specified:

protected function columns(): iterable
{
    return [
        TD::make('deal_date', __("messages.deals.date"))
            ->usingComponent(DateTimeSplit::class, upperFormat: 'd.m.Y', lowerFormat: 'H:i'),

        TD::make('deal_address', __("messages.deals.address")),

        TD::make('updated_at', __("messages.updated_at"))
            ->usingComponent(DateTimeSplit::class, upperFormat: 'd.m.Y', lowerFormat: 'H:i'),

        TD::make('created_at', __("messages.created_at"))
            ->usingComponent(DateTimeSplit::class, upperFormat: 'd.m.Y', lowerFormat: 'H:i'),
    ];
}

Expected behavior
The list should be displayed above the tab titles.

Screenshots
telegram-cloud-photo-size-2-5402347394512837484-x

Desktop (please complete the following information):

Server (please complete the following information):

Additional context
Add any other context about the problem here.

tabuna commented 1 month ago

Fixed earlier, tested on 14.36.0.