filamentphp / filament

A collection of beautiful full-stack components for Laravel. The perfect starting point for your next app. Using Livewire, Alpine.js and Tailwind CSS.
https://filamentphp.com
MIT License
18.08k stars 2.83k forks source link

sidebar margin appear when use $panel->topNavigation() with ->sidebarCollapsibleOnDesktop() or ->sidebarFullyCollapsibleOnDesktop() #7484

Closed aymanalareqi closed 1 year ago

aymanalareqi commented 1 year ago

Package

filament/filament

Package Version

v3.0.8

Laravel Version

v10

Livewire Version

v3.0.0-beta7

PHP Version

PHP 8.2

Problem description

when make the option ->topNavigation with ->sidebarCollapsibleOnDesktop() or ->sidebarFullyCollapsibleOnDesktop() margin appear as the image below

Screenshot 2023-08-05 at 1 59 45 PM

Expected behavior

the content of page take full width

Steps to reproduce

in AdminPanelProvider panel method make $panel ->topNavigation()->sidebarCollapsibleOnDesktop()

Reproduction repository

https://github.com/filamentphp/demo.git

Relevant log output

No response

github-actions[bot] commented 1 year ago

Hey @aymanalareqi! We're sorry to hear that you've hit this issue. 💛

However, it looks like you forgot to fill in the reproduction repository URL. Can you edit your original post and then we'll look at your issue?

We need a public GitHub repository which contains a Laravel app with the minimal amount of Filament code to reproduce the problem. Please do not link to your actual project, what we need instead is a minimal reproduction in a fresh project without any unnecessary code. This means it doesn't matter if your real project is private / confidential, since we want a link to a separate, isolated reproduction. That would allow us to download it and review your bug much easier, so it can be fixed quicker. Please make sure to include a database seeder with everything we need to set the app up quickly.

aymanalareqi commented 1 year ago

you can reproduce the issue with demo project of filament

Hey @aymanalareqi! We're sorry to hear that you've hit this issue. 💛

However, it looks like you forgot to fill in the reproduction repository URL. Can you edit your original post and then we'll look at your issue?

We need a public GitHub repository which contains a Laravel app with the minimal amount of Filament code to reproduce the problem. Please do not link to your actual project, what we need instead is a minimal reproduction in a fresh project without any unnecessary code. This means it doesn't matter if your real project is private / confidential, since we want a link to a separate, isolated reproduction. That would allow us to download it and review your bug much easier, so it can be fixed quicker. Please make sure to include a database seeder with everything we need to set the app up quickly.