Commit c5234f98 authored by 俞嘉婷's avatar 俞嘉婷

feat: 答题弹窗 题目高度自适应

parent 0b109208
...@@ -6,6 +6,8 @@ ...@@ -6,6 +6,8 @@
left: 0px; left: 0px;
top: 0px; top: 0px;
position: absolute; position: absolute;
padding-top: 590px;
box-sizing: border-box;
.bg { .bg {
left: 41px; left: 41px;
...@@ -17,24 +19,25 @@ ...@@ -17,24 +19,25 @@
} }
.question-title { .question-title {
top: 590px; // top: 590px;
left: 103px; left: 103px;
position: absolute; position: relative;
width: 540px; width: 540px;
height: 190px; max-height: 190px;
overflow-y: scroll; overflow-y: scroll;
overflow-x: hidden; overflow-x: hidden;
font-size: 26px; font-size: 26px;
color: rgb(70, 26, 18); color: rgb(70, 26, 18);
font-weight: bold; font-weight: bold;
line-height: 1.4; line-height: 1.4;
margin-bottom: 20px;
} }
.answer-con { .answer-con {
width: 586px; width: 586px;
height: 360px; height: 360px;
position: absolute; position: relative;
top: 800px; // top: 800px;
left: 80px; left: 80px;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment