From 3c2409169b9e9ce44fd8e20feb2b85e03df226b7 Mon Sep 17 00:00:00 2001 From: gssong <1742057357@qq.com> Date: 星期五, 17 一月 2025 21:59:11 +0800 Subject: [PATCH] update 调整设计器宽度 --- src/views/workflow/processDefinition/design.vue | 11 ++--------- 1 files changed, 2 insertions(+), 9 deletions(-) diff --git a/src/views/workflow/processDefinition/design.vue b/src/views/workflow/processDefinition/design.vue index 46a2cc4..3ec44f7 100644 --- a/src/views/workflow/processDefinition/design.vue +++ b/src/views/workflow/processDefinition/design.vue @@ -1,6 +1,6 @@ <template> - <div ref="container" class="container"> - <iframe ref="iframe" :src="iframeUrl" frameborder="0" style="height: 100%; width: inherit"></iframe> + <div ref="container" class="w-full h-[calc(100vh-88px)]"> + <iframe ref="iframe" :src="iframeUrl" frameborder="0" height="100%" style="height: 100%; width: inherit"></iframe> </div> </template> @@ -44,10 +44,3 @@ open }); </script> - -<style scoped> -.container { - width: 100%; - height: calc(100vh - 84px); -} -</style> -- Gitblit v1.9.3