Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xiaomai-cloud-class-web
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xiaomai-cloud-class
xiaomai-cloud-class-web
Commits
0dd05521
Commit
0dd05521
authored
Mar 24, 2021
by
yuananting
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:预览样式
parent
16be2951
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
57 deletions
+20
-57
src/modules/teach-tool/modal/QuestionPreviewModal.less
+20
-57
No files found.
src/modules/teach-tool/modal/QuestionPreviewModal.less
View file @
0dd05521
...
@@ -18,16 +18,8 @@
...
@@ -18,16 +18,8 @@
.question-stem {
.question-stem {
margin-bottom: 16px;
margin-bottom: 16px;
img {
img {
max-width: 100%;
max-width: 88px;
max-height: 100%;
max-height: 88px;
border-radius: 4px;
vertical-align: middle;
width: auto;
height: auto;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
}
&__title {
&__title {
height: 22px;
height: 22px;
...
@@ -47,15 +39,8 @@
...
@@ -47,15 +39,8 @@
}
}
}
}
.picture-box {
.picture-box {
width: 88px;
display: inline-flex;
height: 88px;
margin: 12px 12px 0 0;
margin: 12px 12px 0 0;
overflow: hidden;
display: inline-block;
align-items: center;
justify-content: center;
border: 1px solid #e8e8e8;
position: relative;
}
}
.voice-box {
.voice-box {
margin-bottom: 12px;
margin-bottom: 12px;
...
@@ -64,20 +49,20 @@
...
@@ -64,20 +49,20 @@
width: 320px;
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 {
.question-option {
margin-bottom: 16px;
margin-bottom: 16px;
img {
img {
max-width: 100%;
max-width: 88px;
max-height: 100%;
max-height: 88px;
border-radius: 4px;
vertical-align: middle;
width: auto;
height: auto;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
}
&__title {
&__title {
height: 22px;
height: 22px;
...
@@ -106,15 +91,8 @@
...
@@ -106,15 +91,8 @@
}
}
.picture-box {
.picture-box {
width: 88px;
display: inline-flex;
height: 88px;
margin: 12px 12px 0 0;
margin: 12px 12px 0 0;
overflow: hidden;
display: inline-block;
align-items: center;
justify-content: center;
border: 1px solid #e8e8e8;
position: relative;
}
}
.voice-box {
.voice-box {
margin-bottom: 12px;
margin-bottom: 12px;
...
@@ -192,24 +170,16 @@
...
@@ -192,24 +170,16 @@
.picture-box {
.picture-box {
width: 88px;
width: 88px;
height: 88px;
height: 88px;
margin: 12px 12px 0 0
;
border-radius: 4px
;
overflow: hidden;
overflow: hidden;
display:
inline-block
;
display:
flex
;
align-items: center;
align-items: center;
justify-content: center;
justify-content: center;
border: 1px solid #e8e8e8;
margin-right: 12px;
position: relative;
.img-box {
.img-box {
max-width:
100%
;
max-width:
88px
;
max-height:
100%
;
max-height:
88px
;
border-radius: 4px;
border-radius: 4px;
vertical-align: middle;
width: auto;
height: auto;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
}
}
}
}
}
...
@@ -264,11 +234,4 @@
...
@@ -264,11 +234,4 @@
.question-preview-modal.ant-modal {
.question-preview-modal.ant-modal {
max-height: 60% !important;
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;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment