kenepa / banner

Filament banner allows you to easily create, manage, and display banners in your application.
MIT License
58 stars 7 forks source link

[Bug]: ->maxContentWidth('full') Causes BannerManagement Menus to Be Outside Visible Area #14

Closed edeoliv closed 2 weeks ago

edeoliv commented 1 month ago

What happened?

When setting the content width to full using ->maxContentWidth('full') in the PanelProvider, the Banner Management menus are rendered outside the visible area, making them inaccessible to users.

How to reproduce the bug

1.Configure the PanelProvider to use ->maxContentWidth('full'). 2.Set up the BannerPlugin as described below. 3.Observe that the Banner Management menus are not fully visible.

BannerPlugin::make()
    ->persistsBannersInDatabase()
    ->title(__('Banner Manager'))
    ->subheading(__('Manage your banners'))
    ->navigationIcon('heroicon-o-megaphone')
    ->navigationLabel(__('Banner Management'))
    ->navigationGroup(__('Marketing'))
    ->navigationSort(1)
    ->bannerManagerAccessPermission('banner-manager');

imagen

Package Version

0.0.5

PHP Version

8.3

Laravel Version

11

Which operating systems does with happen with?

No response

Notes

No response

Jehizkia commented 3 weeks ago

Hey,

Thank you for reporting.

Within your project you'll need to run:

npm run dev or npm run build