fix(exam): 优化答案弹窗自适应高度,减少不必要滚动
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
yuliang_guo
2026-01-28 14:22:01 +08:00
parent f53b40c6c7
commit fce8e780ef

View File

@@ -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;