I've set a custom register page for a panel x, I used wizard, how can I increase the form width ?

I set this : public function getMaxContentWidth(): ?string { return '5xl'; } But it doesn't work :/
14 Replies
mgkyawzayya
mgkyawzayya2y ago
@danharrin How can we customize this?
BKF Dev
BKF DevOP2y ago
Yes please 🥺
xy
xy2y ago
+1
LeandroFerreira
GitHub
Custom auth page design · filamentphp filament · Discussion #7710
What's the best way to implement a custom design for the auth pages in v3 to match the front end? Just CSS won't work for me, unfortunately. It looks like I'll have to override each aut...
BKF Dev
BKF DevOP2y ago
We know how to override auth pages, but our issue is the form width ! I called this : public function getMaxContentWidth(): ?string but doesn't work.
LeandroFerreira
it will work only inside the panel I think
BKF Dev
BKF DevOP17mo ago
Any idea guys ? 🙂
Patrick Boivin
Patrick Boivin17mo ago
A few lines of custom CSS probably?
BKF Dev
BKF DevOP17mo ago
Hmm, example ?
Patrick Boivin
Patrick Boivin17mo ago
I don't have one. Do you know how to load a custom CSS file into Filament? Something like this... adjust to taste
.fi-simple-main {
max-width: 60rem;
}
.fi-simple-main {
max-width: 60rem;
}
awcodes
awcodes17mo ago
It probably also needs width: 100%. I think the wizard steps is set to overflow hidden so it isn’t forcing the width out.
xy
xy17mo ago
min-width worked for me
awcodes
awcodes17mo ago
That too. 😅
BKF Dev
BKF DevOP17mo ago
Thanks 🙂

Did you find this page helpful?