Commit aa855eec by Calen Pennington

Merge pull request #307 from MITx/kimth/lms-coderesponse

Kimth/lms coderesponse
parents 81d5c17a 6631848b
......@@ -27,9 +27,6 @@
<br/>
<script type="text/javascript" src="${ settings.LIB_URL }CodeMirror/codemirror.js"></script>
<script type="text/javascript" src="${ settings.LIB_URL }CodeMirror/python.js"></script>
<link rel="stylesheet" href="${ settings.LIB_URL }CodeMirror/codemirror.css" />
<script>
// Note: We need to make the area follow the CodeMirror for this to work.
$(function(){
......@@ -42,7 +39,10 @@
});
</script>
<style type="text/css">
.CodeMirror {border-style: solid;
border-width: 1px;}
.CodeMirror {
border: 2px solid black;
font-size: 14px;
line-height: 18px;
}
</style>
</section>
......@@ -43,6 +43,10 @@ p {
span {
font: normal 1em/1.6em $sans-serif;
}
/* Fix for CodeMirror: prevent top-level span from affecting deeply-embedded span in CodeMirror */
.CodeMirror span {
font: inherit;
}
p + p, ul + p, ol + p {
margin-top: 20px;
......
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