Commit 0dd05521 by yuananting

fix:预览样式

parent 16be2951
......@@ -18,16 +18,8 @@
.question-stem {
margin-bottom: 16px;
img {
max-width: 100%;
max-height: 100%;
border-radius: 4px;
vertical-align: middle;
width: auto;
height: auto;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
max-width: 88px;
max-height: 88px;
}
&__title {
height: 22px;
......@@ -47,15 +39,8 @@
}
}
.picture-box {
width: 88px;
height: 88px;
display: inline-flex;
margin: 12px 12px 0 0;
overflow: hidden;
display: inline-block;
align-items: center;
justify-content: center;
border: 1px solid #e8e8e8;
position: relative;
}
.voice-box {
margin-bottom: 12px;
......@@ -64,20 +49,20 @@
width: 320px;
}
}
.add-fill-line {
padding: 0 10px;
border-bottom: 1px solid !important;
margin: 0 4px;
text-align: center;
border: none;
width: 54px;
}
}
.question-option {
margin-bottom: 16px;
img {
max-width: 100%;
max-height: 100%;
border-radius: 4px;
vertical-align: middle;
width: auto;
height: auto;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
max-width: 88px;
max-height: 88px;
}
&__title {
height: 22px;
......@@ -106,15 +91,8 @@
}
.picture-box {
width: 88px;
height: 88px;
display: inline-flex;
margin: 12px 12px 0 0;
overflow: hidden;
display: inline-block;
align-items: center;
justify-content: center;
border: 1px solid #e8e8e8;
position: relative;
}
.voice-box {
margin-bottom: 12px;
......@@ -192,24 +170,16 @@
.picture-box {
width: 88px;
height: 88px;
margin: 12px 12px 0 0;
border-radius: 4px;
overflow: hidden;
display: inline-block;
display: flex;
align-items: center;
justify-content: center;
border: 1px solid #e8e8e8;
position: relative;
margin-right: 12px;
.img-box {
max-width: 100%;
max-height: 100%;
max-width: 88px;
max-height: 88px;
border-radius: 4px;
vertical-align: middle;
width: auto;
height: auto;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
}
}
......@@ -264,11 +234,4 @@
.question-preview-modal.ant-modal {
max-height: 60% !important;
}
.add-fill-line {
padding: 0 10px;
border-bottom: 1px solid !important;
margin: 0 4px;
text-align: center;
border: none;
width: 54px;
}
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