Make user profile form wider?
Can't seem to make the form on the user profile page wider. I tried extraAttributes and attaching a class that way, but it's the parent of the form that's controlling the width, the
<main>
div with a class of fi-simple-main
. I don't want to override the width of that div in my css file because that would affect other pages, and as far as i'm aware, css can't go up the dom from the current element. Can someone clue me in on how to do this? It's probably something super obvious and I'm being dense...
6 Replies
->width() ?
Method Filament\Forms\Form::width does not exist.
I had tried that already..maybe i've got the wrong method.Ahh I see what you are saying. The form isn't then what is controllign the width. It's your page
In the page maxWidth = full
yes, the page div is controlling the width. the parent div of the form.
There’s also ->profile(isSimple: false) if you’d rather have it in the full panel layout.
I would, but this panel has tenancy, so I'm out of luck on that.