mirror of
https://gitee.com/JavaLionLi/plus-ui.git
synced 2026-05-14 11:17:57 +00:00
fix 修复 warmflow设计器超出页面宽高问题
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<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 ref="container" class="warm-flow-designer-page">
|
||||
<iframe ref="iframe" :src="iframeUrl" frameborder="0" class="warm-flow-designer-page__iframe"></iframe>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -49,3 +49,17 @@ defineExpose({
|
||||
open
|
||||
});
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.warm-flow-designer-page {
|
||||
width: 100%;
|
||||
height: calc(100vh - 123px);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.warm-flow-designer-page__iframe {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user