Main content overlapping to the sidebar.
Tried to rebuild the assets,cleared cache,optimized but still the same issue.
13 Replies
Have you customised yoursidebar width?
I have a feeling you have, and it doesn't exist the class you are using, so it's full width but expanding over because the class isnt setting it's width
- Are you using a custom theme?
- Did you overwrite any views?
Yes i've given it 200px from the filament file.
Yes i'm using the yepsua pluggin.
So if you have set 200px is that enough?
'width' => '16.6rem',
for example works well ehre.
Nope.Still getting the same result.
Check with the plugin dev. It could be a bug in the plugin.
#yepsua-themes
Try removing the plugin and check again. Try disabling your theme and check again.
Okay .Let me try it out.
@toeknee_iom @Dennis Koch @awcodes . I think the class lg:max-w[var(--sidebar-width)] is not loaded on the filament sidebar. Not sure because i've tried to set the width in the filament config but still the same result. I tried to disable/reinstall the plugin .The plugin seems to work fine.
That’s not a valid tailwind class. There should be a - after the w
Yeap there is a - .It is a typo on the message.
It’s possible that it isn’t used in v3
Or was changed to a different class. Look in the dev tools to see what classes are there.
$panel->sidebarWidth() will change the width of the sidebar.
From the dev tools i get the above class lg:max-w-[var(--sidebar-width)] on the <aside> element which bears the sidebar.I'm on v2 of filament.
not sure then. I've never experienced this issue
in v2 or v3