Skip to content

Commit 6dd2b63

Browse files
authored
Merge pull request #10 from TappNetwork/section_full
Add columnSpanFull()
2 parents ed05969 + 0914dc9 commit 6dd2b63

5 files changed

Lines changed: 6 additions & 0 deletions

File tree

src/Filament/Resources/Admin/ForumPostResource/Schemas/ForumPostForm.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ public static function configure(Schema $schema): Schema
4040
->components([
4141
Section::make()
4242
->id('forumPostForm')
43+
->columnSpanFull()
4344
->columns(2)
4445
->schema([
4546
TextInput::make('name')

src/Filament/Resources/Admin/ForumPostResource/Schemas/ForumPostInfolist.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ public static function configure(Schema $schema): Schema
2222
'default' => 1,
2323
'sm' => 3,
2424
])
25+
->columnSpanFull()
2526
->schema([
2627
Section::make()
2728
->schema([
@@ -47,6 +48,7 @@ public static function configure(Schema $schema): Schema
4748
]),
4849

4950
Section::make('Comments')
51+
->columnSpanFull()
5052
->schema([
5153
ForumCommentsEntry::make('comments')
5254
->hiddenLabel()

src/Filament/Resources/Admin/ForumResource/Schemas/ForumForm.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ public static function configure(Schema $schema): Schema
4242
->components([
4343
Section::make()
4444
->id('forumForm')
45+
->columnSpanFull()
4546
->columns(2)
4647
->schema([
4748
TextInput::make('name')

src/Filament/Resources/ForumPosts/Schemas/ForumPostForm.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ public static function configure(Schema $schema): Schema
1515
->components([
1616
Section::make()
1717
->id('forumPostForm')
18+
->columnSpanFull()
1819
->schema([
1920
TextInput::make('name')
2021
->label(__('filament-forum::filament-forum.forum-post.form.label.name'))

src/Filament/Resources/ForumPosts/Schemas/ForumPostInfolist.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ public static function configure(Schema $schema): Schema
2020
return $schema
2121
->components([
2222
Section::make(fn (ForumPost $record) => $record->user->name.' - '.$record->created_at->diffForHumans().($record->hasBeenEdited() ? ' ('.__('filament-forum::filament-forum.forum-post.edited').')' : ''))
23+
->columnSpanFull()
2324
->headerActions([
2425
Action::make('favorite')
2526
->iconButton()

0 commit comments

Comments
 (0)