diff --git a/src/views/teacher/ExamPages/AddQuestion.vue b/src/views/teacher/ExamPages/AddQuestion.vue index fbe5ee2..704542f 100644 --- a/src/views/teacher/ExamPages/AddQuestion.vue +++ b/src/views/teacher/ExamPages/AddQuestion.vue @@ -1551,11 +1551,11 @@ const getQuestionTypeLabel = (type: string): string => { /* 主体内容区域 */ .main-content { display: flex; - flex: 1; gap: 24px; padding: 24px; background-color: #f8f9fa; - min-height: calc(100vh - 80px); + height: calc(100vh - 200px); + overflow-y: auto; } /* 左侧表单区域 */ @@ -1575,7 +1575,6 @@ const getQuestionTypeLabel = (type: string): string => { border-radius: 2px; height: fit-content; position: sticky; - top: 100px; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08); border: 1px solid #e8f4fd; }