diff --git a/frontend/src/views/exam/practice.vue b/frontend/src/views/exam/practice.vue index 238c9cb..c984ae5 100644 --- a/frontend/src/views/exam/practice.vue +++ b/frontend/src/views/exam/practice.vue @@ -1616,9 +1616,15 @@ onUnmounted(() => { // 答案解析弹窗样式 :deep(.answer-dialog) { + .el-dialog { + margin-top: 15vh !important; + margin-bottom: auto; + } + .el-dialog__body { - padding-top: 10px; - padding-bottom: 10px; + padding: 10px 20px; + max-height: none; + overflow: visible; } } @@ -1651,9 +1657,8 @@ onUnmounted(() => { } .dialog-scroll-area { - max-height: 45vh; + max-height: 60vh; overflow-y: auto; - padding-right: 8px; &::-webkit-scrollbar { width: 6px;