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