fix(工具箱): 模板管理间距不对

This commit is contained in:
dataeaseShu 2024-02-20 09:53:28 +08:00
parent 915c1286d4
commit ac0d5df512
4 changed files with 25 additions and 11 deletions

View File

@ -42,15 +42,18 @@ const hiddenTabbar = ref(false)
<style lang="less">
body {
min-height: 100vh;
min-height: -webkit-fill-available;
display: flex;
flex-direction: column;
}
html {
height: -webkit-fill-available;
@supports (-webkit-touch-callout: none) {
body {
min-height: -webkit-fill-available;
}
}
.mobile-index {
width: 100vw;
height: 100vh;
width: 100%;
height: 100%;
overflow: hidden;
}
</style>

View File

@ -100,10 +100,21 @@ const onSubmit = async () => {
</div>
</template>
<style lang="less" scoped>
<style lang="less">
body {
min-height: 100vh;
display: flex;
flex-direction: column;
}
@supports (-webkit-touch-callout: none) {
body {
min-height: -webkit-fill-available;
}
}
.de-mobile-login {
height: 100vh;
width: 100vw;
height: 100%;
width: 100%;
display: flex;
align-items: center;
justify-content: center;

View File

@ -287,7 +287,7 @@ if (props.templateId) {
justify-content: flex-end;
}
.preview {
margin-top: -5px;
margin-top: -8px;
border: 1px solid #e6e6e6;
height: 300px !important;
overflow: auto;

View File

@ -119,7 +119,7 @@
:title="state.dialogTitle"
v-model="state.editTemplate"
append-to-body
class="de-dialog-form"
class="de-dialog-form create-dialog"
width="420px"
>
<el-form
@ -148,7 +148,7 @@
v-model="state.templateDialog.visible"
:show-close="true"
:destroy-on-close="true"
class="de-dialog-form"
class="de-dialog-form create-dialog"
width="600px"
>
<de-template-import