© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
3 replies
Matthew

Cannot change width of section in split layout

    public function form(Form $form): Form
    {
        return $form
            // ->extraAttributes(['max-width' => '100%'])
            ->schema([
                Split::make([
                    Section::make([

                    ])->columns(2),
                    Section::make([

                    ])->grow(false)->extraAttributes(['width'=>'20%']),
                ])->from('sm')
            ])->statePath('data');
    }
    public function form(Form $form): Form
    {
        return $form
            // ->extraAttributes(['max-width' => '100%'])
            ->schema([
                Split::make([
                    Section::make([

                    ])->columns(2),
                    Section::make([

                    ])->grow(false)->extraAttributes(['width'=>'20%']),
                ])->from('sm')
            ])->statePath('data');
    }

The section on the right, is taking too much space and I want to reduce its width, but it doesnt work. Any ideas?
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

Section->grow() not working inside Split layout
FilamentFFilament / ❓┊help
3y ago
Split item width
FilamentFFilament / ❓┊help
3y ago
Replace section container in Split
FilamentFFilament / ❓┊help
16mo ago
Sidebar custom width of split infolist
FilamentFFilament / ❓┊help
10mo ago