© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
4 replies
Satal

getMaxContentWidth not making RegisterTenant full width

Hi all,

I have a project where I'm working to introduce a Wizard to the RegisterTeam page. The Wizard is going fine, however, the form is too narrow. I've tried adding
getMaxContentWidth
getMaxContentWidth
to the RegisterTenant page (
class RegisterTeam extends RegisterTenant
class RegisterTeam extends RegisterTenant
)
public function getMaxContentWidth(): MaxWidth
{
    return MaxWidth::Full;
}
public function getMaxContentWidth(): MaxWidth
{
    return MaxWidth::Full;
}


However, the form continues to be too narrow.

Is there something I'm missing?

Looking at the HTML, I've found that if I remove the css class
sm:max-w-lg
sm:max-w-lg
from the
<main>
<main>
tag it goes to full width as expected.
image.png
Solution
protected ?string $maxWidth = '2xl';
protected ?string $maxWidth = '2xl';


try this instead.

reference: https://filamentexamples.com/project/register-wizard-steps
Jump to solution
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Full width FilamentPHP
FilamentFFilament / ❓┊help
2y ago
make tab full width?
FilamentFFilament / ❓┊help
17mo ago
App Dropdowns full width
FilamentFFilament / ❓┊help
2y ago
Panel with full width
FilamentFFilament / ❓┊help
3y ago