mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
fix: python dialog fullscreen
This commit is contained in:
parent
17616205b9
commit
116ceefd0a
|
|
@ -27,7 +27,7 @@
|
|||
:style="codemirrorStyle"
|
||||
:tab-size="4"
|
||||
:autofocus="true"
|
||||
style="height: 300px !important; border: 1px solid #bbbfc4; border-radius: 4px"
|
||||
style="height: calc(100vh - 160px) !important; border: 1px solid #bbbfc4; border-radius: 4px"
|
||||
/>
|
||||
<template #footer>
|
||||
<div class="dialog-footer mt-24">
|
||||
|
|
|
|||
|
|
@ -138,10 +138,10 @@
|
|||
</template>
|
||||
|
||||
<!-- Codemirror 弹出层 -->
|
||||
<el-dialog v-model="dialogVisible" title="Python 代码" append-to-body>
|
||||
<el-dialog v-model="dialogVisible" title="Python 代码" append-to-body fullscreen>
|
||||
<CodemirrorEditor
|
||||
v-model="cloneContent"
|
||||
style="height: 300px !important; border: 1px solid #bbbfc4; border-radius: 4px"
|
||||
style="height: calc(100vh - 160px) !important; border: 1px solid #bbbfc4; border-radius: 4px"
|
||||
/>
|
||||
<template #footer>
|
||||
<div class="dialog-footer mt-24">
|
||||
|
|
|
|||
|
|
@ -100,10 +100,10 @@
|
|||
</el-form>
|
||||
<FieldFormDialog ref="FieldFormDialogRef" @refresh="refreshFieldList" />
|
||||
<!-- Codemirror 弹出层 -->
|
||||
<el-dialog v-model="dialogVisible" title="Python 代码" append-to-body>
|
||||
<el-dialog v-model="dialogVisible" title="Python 代码" append-to-body fullscreen>
|
||||
<CodemirrorEditor
|
||||
v-model="cloneContent"
|
||||
style="height: 300px !important; border: 1px solid #bbbfc4; border-radius: 4px"
|
||||
style="height: calc(100vh - 160px) !important; border: 1px solid #bbbfc4; border-radius: 4px"
|
||||
/>
|
||||
<template #footer>
|
||||
<div class="dialog-footer mt-24">
|
||||
|
|
|
|||
Loading…
Reference in New Issue