Merge pull request #8730 from edx/mekkz/capa-image-input-fix
TNL-2623 Fix bug where status icons were hidden in image response problems
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
// * +Problem - Rubric
|
||||
// * +Problem - Annotation
|
||||
// * +Problem - Choice Text Group
|
||||
// * +Problem - Image Input Overrides
|
||||
|
||||
// +Variables - Capa
|
||||
// ====================
|
||||
@@ -1350,3 +1351,24 @@ div.problem {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// +Problem - Image Input Overrides
|
||||
// ====================
|
||||
|
||||
// NOTE: temporary override until image inputs use same base html structure as other common capa input types.
|
||||
div.problem .imageinput.capa_inputtype {
|
||||
|
||||
.status {
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
top: 3px;
|
||||
width: 25px;
|
||||
height: 20px;
|
||||
}
|
||||
.correct {
|
||||
background: url('../images/correct-icon.png') center center no-repeat;
|
||||
}
|
||||
.incorrect {
|
||||
background: url('../images/incorrect-icon.png') center center no-repeat;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user