Skip to content

Commit fa5c849

Browse files
authored
Fix Incident and Updates message size (#290)
1 parent 9627aa6 commit fa5c849

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

src/Filament/Resources/IncidentResource.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,10 @@ public static function table(Table $table): Table
168168
->form([
169169
Forms\Components\MarkdownEditor::make('message')
170170
->label(__('cachet::incident.record_update.form.message_label'))
171-
->required(),
171+
->required()
172+
->minHeight('200px')
173+
->maxHeight('300px')
174+
->columnSpanFull(),
172175
Forms\Components\ToggleButtons::make('status')
173176
->label(__('cachet::incident.record_update.form.status_label'))
174177
->options(IncidentStatusEnum::class)

src/Filament/Resources/UpdateResource/RelationManagers/UpdatesRelationManager.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ public function form(Form $form): Form
2020
Forms\Components\MarkdownEditor::make('message')
2121
->label(__('Message'))
2222
->required()
23+
->minHeight('200px')
24+
->maxHeight('300px')
2325
->columnSpanFull(),
2426
Forms\Components\Select::make('user_id')
2527
->label(__('User'))

0 commit comments

Comments
 (0)