Merge pull request #12220 from edx/bjacobel/adaptive-hint-bug

Math inputs _and_ adaptive hints are sized/positioned correctly
This commit is contained in:
Brian Jacobel
2016-04-26 10:27:39 -04:00

View File

@@ -749,14 +749,12 @@ div.problem {
// ====================
.problem {
.capa_inputtype.textline, .inputtype.formulaequationinput {
display: inline-block;
input {
@include box-sizing(border-box);
border: 2px solid $gray-l4;
border-radius: 3px;
min-width: 160px;
width: calc(100% - 45px);
height: 46px;
}
@@ -815,6 +813,14 @@ div.problem {
}
}
}
.inputtype.formulaequationinput {
display: inline-block;
input {
width: calc(100% - 45px);
}
}
}