diff --git a/frontend/src/components/canvas/components/editor/Preview.vue b/frontend/src/components/canvas/components/editor/Preview.vue index 59e9220595..a2232340e1 100644 --- a/frontend/src/components/canvas/components/editor/Preview.vue +++ b/frontend/src/components/canvas/components/editor/Preview.vue @@ -783,14 +783,6 @@ export default { padding: 10px 20px 20px; } -.mobile-dialog-css ::v-deep .el-dialog__headerbtn { - top: 7px -} - -.mobile-dialog-css ::v-deep .el-dialog__body { - padding: 0px; -} - ::-webkit-scrollbar { width: 0px !important; height: 0px !important; diff --git a/frontend/src/components/canvas/customComponent/UserView.vue b/frontend/src/components/canvas/customComponent/UserView.vue index ab9caf23a6..5e0ef1e4df 100644 --- a/frontend/src/components/canvas/customComponent/UserView.vue +++ b/frontend/src/components/canvas/customComponent/UserView.vue @@ -1263,4 +1263,13 @@ export default { z-index: 2; display: block !important; } + + +.mobile-dialog-css ::v-deep .el-dialog__headerbtn { + top: 7px +} + +.mobile-dialog-css ::v-deep .el-dialog__body { + padding: 0px; +}