diff --git a/nezha-fronted/src/assets/css/common.scss b/nezha-fronted/src/assets/css/common.scss index 0671b5f27..fcd0e6ac1 100644 --- a/nezha-fronted/src/assets/css/common.scss +++ b/nezha-fronted/src/assets/css/common.scss @@ -833,12 +833,26 @@ input::placeholder{ } .operationTutorial-dialog{ - .el-dialog__title{ - font-size: 14px; - font-weight: 600; + .el-dialog{ + width: 85%; + height: 90%; + } + .el-dialog__header{ + box-sizing: border-box; + padding: 20px; + padding-bottom: 15px; + line-height: 25px; + height: 55px; + .el-dialog__title{ + font-size: 14px; + font-weight: 600; + } } .dialog-header { - margin-bottom: 15px; + box-sizing: border-box; + padding-bottom: 15px; + line-height: 25px; + height: 40px; word-wrap: break-word; color: $--color-text-primary; span{ @@ -849,11 +863,13 @@ input::placeholder{ } } .el-dialog__body { + box-sizing: border-box; padding: 30px; padding-top: 0; + height: calc(100% - 55px); .operationTutorial-img{ width: 100%; - height: 390px; + height: calc(100% - 70px); display: block; box-shadow: 0px 2px 4px 0px rgba(0,0,0,0.1); } @@ -863,7 +879,10 @@ input::placeholder{ color: $--color-text-regular; font-weight: 400; text-align: center; - margin-top: 12px; + box-sizing: border-box; + padding-top: 12px; + line-height: 18px; + height: 30px; } } } \ No newline at end of file diff --git a/nezha-fronted/src/components/layout/header.vue b/nezha-fronted/src/components/layout/header.vue index 9315945d3..5e74d5c61 100644 --- a/nezha-fronted/src/components/layout/header.vue +++ b/nezha-fronted/src/components/layout/header.vue @@ -91,7 +91,6 @@ :title="$t('overall.tip')" :visible.sync="dialogVisible" @close='handleClose' - width="772px" :append-to-body="true" >