F
Filamentβ€’2y ago
vahnmarty

How to align "Action" to the left

Putting the "Action" into a justify-start, because currently it is rendered justify-end. .
5 Replies
Falk Maria Zeitsprung
protected function getTableActionsPosition(): ?string
{
return Position::BeforeCells;
}
protected function getTableActionsPosition(): ?string
{
return Position::BeforeCells;
}
vahnmarty
vahnmartyOPβ€’2y ago
That is for putting the "Action" in 1st column. What I mean is that "Action" should be aligned to "Edit".
Dennis Koch
Dennis Kochβ€’2y ago
Didn't you answer this yourself? πŸ€”
Putting the "Action" into a justify-start
vahnmarty
vahnmartyOPβ€’2y ago
This worked for me.
.filament-tables-header-cell button{
@apply justify-start;
}
.filament-tables-header-cell button{
@apply justify-start;
}
actually I was trying to find out how should I update the class, since you can't use ->extraAttribute
Falk Maria Zeitsprung
πŸ™ˆ sorry
Want results from more Discord servers?
Add your server