F
Filament16mo 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
mgkyawzayya15mo ago
@danharrin How can we customize this?
BKF Dev
BKF DevOP15mo ago
Yes please 🥺
xy
xy15mo ago
+1
LeandroFerreira
LeandroFerreira15mo 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 DevOP15mo 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
LeandroFerreira15mo ago
it will work only inside the panel I think
BKF Dev
BKF DevOP15mo ago
Any idea guys ? 🙂
Patrick Boivin
Patrick Boivin15mo ago
A few lines of custom CSS probably?
BKF Dev
BKF DevOP15mo ago
Hmm, example ?
Patrick Boivin
Patrick Boivin15mo 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
awcodes15mo 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
xy15mo ago
min-width worked for me
awcodes
awcodes15mo ago
That too. 😅
BKF Dev
BKF DevOP15mo ago
Thanks 🙂
Want results from more Discord servers?
Add your server