fix(exam): 优化答案弹窗自适应高度,减少不必要滚动
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user