How to center filter modal footer?
I am using the filter modal and wondering how to center the footer buttons:

10 Replies
How did you add the buttons?
I didnt add them. They are default behaviour of filament. Just use
on your Table
Solution
I am forcing most other buttons to be centered with the following in my AdminPanelProvider:
But this doesn't help here
Ok, just css. I thought there is a setting for it, I am just missing. Thanks for your help!
Not that I know off, it's not a highly used feature so the alignment features likely hasnt been added.
To be honest, this is the only design decission I hate on filament. Its not really consistend. For example, the confirmation dialog look like this (taken from the docs):

centered....
plus the action is right, while the cancel is left. Thats very inconsistent if you compare it with the filter modal for example
That's because it's a request for choice, ACTION so it needs to be the focused. Modals generally are not a submit/close. It can have multiple different actions, steps etc.
just for the records: This specific modal is a "choice" modal with just submit/close actions. And even if I have other buttons, I really dont like buttons on the left side. Its very uncommon. Most UI tools I use have it centered or right align. Nova for example have them right.
But its ok, I can work around it. Thanks for your help.