From f31aa78f6f392e8985d383ac8ed26dca46c1b2f9 Mon Sep 17 00:00:00 2001 From: Boy132 Date: Fri, 15 Aug 2025 14:07:23 +0200 Subject: [PATCH] Fix gap for profile repeaters (api keys, ssh keys, activity logs) (#1613) --- app/Filament/Pages/Auth/EditProfile.php | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/app/Filament/Pages/Auth/EditProfile.php b/app/Filament/Pages/Auth/EditProfile.php index 8d86e1f73..0ad423ad9 100644 --- a/app/Filament/Pages/Auth/EditProfile.php +++ b/app/Filament/Pages/Auth/EditProfile.php @@ -322,6 +322,7 @@ class EditProfile extends BaseEditProfile Section::make(trans('profile.api_keys'))->columnSpan(2)->schema([ Repeater::make('api_keys') ->hiddenLabel() + ->inlineLabel(false) ->relationship('apiKeys') ->addable(false) ->itemLabel(fn ($state) => $state['identifier']) @@ -406,6 +407,7 @@ class EditProfile extends BaseEditProfile Section::make(trans('profile.ssh_keys'))->columnSpan(2)->schema([ Repeater::make('ssh_keys') ->hiddenLabel() + ->inlineLabel(false) ->relationship('sshKeys') ->addable(false) ->itemLabel(fn ($state) => $state['name']) @@ -445,14 +447,17 @@ class EditProfile extends BaseEditProfile ->icon('tabler-history') ->schema([ Repeater::make('activity') - ->label('') + ->hiddenLabel() + ->inlineLabel(false) ->deletable(false) ->addable(false) ->relationship(null, function (Builder $query) { $query->orderBy('timestamp', 'desc'); }) ->schema([ - Placeholder::make('activity!')->label('')->content(fn (ActivityLog $log) => new HtmlString($log->htmlable())), + Placeholder::make('log') + ->hiddenLabel() + ->content(fn (ActivityLog $log) => new HtmlString($log->htmlable())), ]), ]),