mirror of
https://github.com/pelican-dev/panel.git
synced 2025-11-28 09:20:22 +01:00
Fix forever expanding code editor (#782)
* Update CSS * Update Placeholder
This commit is contained in:
parent
fd5016809a
commit
157fa45234
@ -229,6 +229,7 @@ class EditEgg extends EditRecord
|
||||
->default('ash'),
|
||||
MonacoEditor::make('script_install')
|
||||
->label('Install Script')
|
||||
->placeholderText('')
|
||||
->columnSpanFull()
|
||||
->fontSize('16px')
|
||||
->language('shell')
|
||||
|
||||
@ -102,6 +102,7 @@ class EditFiles extends Page
|
||||
->schema([
|
||||
MonacoEditor::make('editor')
|
||||
->label('')
|
||||
->placeholderText('')
|
||||
->formatStateUsing(function () use ($server) {
|
||||
// @phpstan-ignore-next-line
|
||||
return app(DaemonFileRepository::class)
|
||||
|
||||
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user