diff --git a/packages/client/src/components/MkModalWindow.vue b/packages/client/src/components/MkModalWindow.vue index a3dccb7644..31943d1f3e 100644 --- a/packages/client/src/components/MkModalWindow.vue +++ b/packages/client/src/components/MkModalWindow.vue @@ -10,20 +10,20 @@ ref="rootEl" class="ebkgoccj" :style="{ - width: `${width}px`, + width: `${props.width}px`, height: scroll ? height - ? `${height}px` + ? `${props.height}px` : null : height - ? `min(${height}px, 100%)` + ? `min(${props.height}px, 100%)` : '100%', }" tabindex="-1" >