An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
Fix inconsistent modal height in Edit Docker Compose dialog
Andras Bacsaiecada60c78cb
diff --git a/resources/views/livewire/project/service/edit-compose.blade.php b/resources/views/livewire/project/service/edit-compose.blade.phpindex 3132408499..2314b60c77 100644--- a/resources/views/livewire/project/service/edit-compose.blade.php+++ b/resources/views/livewire/project/service/edit-compose.blade.php@@ -1,24 +1,31 @@+<style>+ .compose-editor-container .coolify-monaco-editor>div>div>div {+ height: 512px !important;+ min-height: 512px !important;+ }+</style><div x-data="{ raw: true, showNormalTextarea: false }"><div class="pb-4">Volume names are updated upon save. The service UUID will be added as a prefix to all volumes, topreventname collision. <br>To see the actual volume names, check the Deployable Compose file, or go to Storagemenu.</div>- <div x-cloak x-show="raw" class="font-mono">- <div x-cloak x-show="showNormalTextarea">- <x-forms.textarea rows="20" id="dockerComposeRaw">- </x-forms.textarea>+ <div class="compose-editor-container">+ <div x-cloak x-show="raw" class="font-mono">+ <div x-cloak x-show="showNormalTextarea">+ <x-forms.textarea rows="25" id="dockerComposeRaw">+ </x-forms.textarea>+ </div>+ <div x-cloak x-show="!showNormalTextarea">+ <x-forms.textarea allowTab useMonacoEditor monacoEditorLanguage="yaml" id="dockerComposeRaw">+ </x-forms.textarea>+ </div></div>- <div x-cloak x-show="!showNormalTextarea">- <x-forms.textarea allowTab useMonacoEditor monacoEditorLanguage="yaml" rows="20"- id="dockerComposeRaw">+ <div x-cloak x-show="raw === false" class="font-mono">+ <x-forms.textarea rows="25" readonly id="dockerCompose"></x-forms.textarea></div></div>- <div x-cloak x-show="raw === false" class="font-mono">- <x-forms.textarea rows="20" readonly id="dockerCompose">- </x-forms.textarea>- </div><div class="pt-2 flex gap-2"><div class="flex flex-col gap-2"><x-forms.checkbox label="Escape special characters in labels?"@@ -46,4 +53,4 @@Save</x-forms.button></div>-</div>+</div>\ No newline at end of file