mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-10-09 23:17:21 +08:00
fix: 解决打开编辑文件页面确认按钮可能看不到的问题 (#1084)
Refs https://github.com/1Panel-dev/1Panel/issues/1042
This commit is contained in:
parent
a74cdcc061
commit
03d338d6c9
1 changed files with 6 additions and 5 deletions
|
@ -6,6 +6,7 @@
|
|||
destroy-on-close
|
||||
width="70%"
|
||||
@opened="onOpen"
|
||||
:top="'5vh'"
|
||||
>
|
||||
<el-form :inline="true" :model="config">
|
||||
<el-form-item :label="$t('file.theme')">
|
||||
|
@ -24,8 +25,8 @@
|
|||
</el-select>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
<div class="coder-editor" v-loading="loading">
|
||||
<div id="codeBox" style="height: 60vh"></div>
|
||||
<div v-loading="loading">
|
||||
<div id="codeBox" style="height: 55vh"></div>
|
||||
</div>
|
||||
<template #footer>
|
||||
<span class="dialog-footer">
|
||||
|
@ -214,8 +215,8 @@ onBeforeUnmount(() => {
|
|||
defineExpose({ acceptParams });
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
.coder-editor {
|
||||
margin-top: 10px;
|
||||
<style>
|
||||
.dialog-top {
|
||||
top: 0;
|
||||
}
|
||||
</style>
|
||||
|
|
Loading…
Add table
Reference in a new issue