Merge pull request #6982 from coollabsio/andrasbacsai/fix-compose-modal-height
Fix inconsistent modal height in Edit Docker Compose dialog
This commit is contained in:
commit
ffd3c9136c
1 changed files with 20 additions and 13 deletions
|
|
@ -1,23 +1,30 @@
|
||||||
|
<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 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, to
|
<div class="pb-4">Volume names are updated upon save. The service UUID will be added as a prefix to all volumes, to
|
||||||
prevent
|
prevent
|
||||||
name collision. <br>To see the actual volume names, check the Deployable Compose file, or go to Storage
|
name collision. <br>To see the actual volume names, check the Deployable Compose file, or go to Storage
|
||||||
menu.</div>
|
menu.</div>
|
||||||
|
|
||||||
<div x-cloak x-show="raw" class="font-mono">
|
<div class="compose-editor-container">
|
||||||
<div x-cloak x-show="showNormalTextarea">
|
<div x-cloak x-show="raw" class="font-mono">
|
||||||
<x-forms.textarea rows="20" id="dockerComposeRaw">
|
<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="raw === false" class="font-mono">
|
||||||
|
<x-forms.textarea rows="25" readonly id="dockerCompose">
|
||||||
</x-forms.textarea>
|
</x-forms.textarea>
|
||||||
</div>
|
</div>
|
||||||
<div x-cloak x-show="!showNormalTextarea">
|
|
||||||
<x-forms.textarea allowTab useMonacoEditor monacoEditorLanguage="yaml" rows="20"
|
|
||||||
id="dockerComposeRaw">
|
|
||||||
</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>
|
||||||
<div class="pt-2 flex gap-2">
|
<div class="pt-2 flex gap-2">
|
||||||
<div class="flex flex-col gap-2">
|
<div class="flex flex-col gap-2">
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue