style:试题编辑页面滚动样式问题修复

This commit is contained in:
yuk255 2025-09-23 12:36:43 +08:00
parent 5519a849a3
commit 0de7531c1a

View File

@ -1551,11 +1551,11 @@ const getQuestionTypeLabel = (type: string): string => {
/* 主体内容区域 */ /* 主体内容区域 */
.main-content { .main-content {
display: flex; display: flex;
flex: 1;
gap: 24px; gap: 24px;
padding: 24px; padding: 24px;
background-color: #f8f9fa; 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; border-radius: 2px;
height: fit-content; height: fit-content;
position: sticky; position: sticky;
top: 100px;
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08); box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
border: 1px solid #e8f4fd; border: 1px solid #e8f4fd;
} }