F
Filament13mo ago
Wim

Align buttons in modal

I have a modal and want to align the two buttons next to each other. Any idea how this can be done? Preferably I would want to rename 'Close' to 'Cancel' also. The modal comes from an Infolist: public static function infolist(Infolist $infolist): Infolist { return $infolist ->schema([ TextEntry::make('name'), TextEntry::make('published_price') ->formatStateUsing(function ($state) { $formatter = new NumberFormatter(app()->getLocale(), NumberFormatter::CURRENCY); return $formatter->formatCurrency($state / 100, 'eur'); }), Actions::make([ Action::make('Publish') ->label('Publish') ->url(fn ($record): string => self::getUrl('checkout', [$record])), ]), ]); }
No description
1 Reply
Want results from more Discord servers?
Add your server