Skip to content

Commit

Permalink
Fix forever expanding code editor (#782)
Browse files Browse the repository at this point in the history
* Update CSS

* Update Placeholder
  • Loading branch information
notAreYouScared authored Dec 8, 2024
1 parent fd50168 commit 157fa45
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions app/Filament/Admin/Resources/EggResource/Pages/EditEgg.php
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@ public function form(Form $form): Form
->default('ash'),
MonacoEditor::make('script_install')
->label('Install Script')
->placeholderText('')
->columnSpanFull()
->fontSize('16px')
->language('shell')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ public function form(Form $form): Form
->schema([
MonacoEditor::make('editor')
->label('')
->placeholderText('')
->formatStateUsing(function () use ($server) {
// @phpstan-ignore-next-line
return app(DaemonFileRepository::class)
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 157fa45

Please sign in to comment.