F
Filament12mo ago
BKF Dev

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
mgkyawzayya11mo ago
@danharrin How can we customize this?
BKF Dev
BKF Dev11mo ago
Yes please 🥺
xy
xy11mo ago
+1
LeandroFerreira
LeandroFerreira11mo ago
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 Dev11mo 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
LeandroFerreira11mo ago
it will work only inside the panel I think
BKF Dev
BKF Dev11mo ago
Any idea guys ? 🙂
Patrick Boivin
Patrick Boivin11mo ago
A few lines of custom CSS probably?
BKF Dev
BKF Dev11mo ago
Hmm, example ?
Patrick Boivin
Patrick Boivin11mo 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
awcodes11mo 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
xy11mo ago
min-width worked for me
awcodes
awcodes11mo ago
That too. 😅
BKF Dev
BKF Dev11mo ago
Thanks 🙂