mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-01-19 16:29:17 +08:00
feat: 调整文件编辑弹框的高度
This commit is contained in:
parent
9b14ddb177
commit
895e6ce181
@ -5,13 +5,11 @@
|
||||
:before-close="handleClose"
|
||||
destroy-on-close
|
||||
width="70%"
|
||||
draggable
|
||||
@opened="onOpen"
|
||||
class="coder-dialog"
|
||||
>
|
||||
<div>
|
||||
<div v-loading="loading">
|
||||
<div id="codeBox" style="height: 60vh"></div>
|
||||
</div>
|
||||
<div v-loading="loading">
|
||||
<div id="codeBox" style="height: 60vh"></div>
|
||||
</div>
|
||||
<template #footer>
|
||||
<span class="dialog-footer">
|
||||
@ -106,3 +104,9 @@ const onOpen = () => {
|
||||
|
||||
defineExpose({ acceptParams });
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
.coder-dialog {
|
||||
--el-dialog-margin-top: 10vh;
|
||||
}
|
||||
</style>
|
||||
|
Loading…
x
Reference in New Issue
Block a user