Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
aa855eec
Commit
aa855eec
authored
Jul 27, 2012
by
Calen Pennington
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #307 from MITx/kimth/lms-coderesponse
Kimth/lms coderesponse
parents
81d5c17a
6631848b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
5 deletions
+9
-5
common/lib/capa/capa/templates/textbox.html
+5
-5
lms/static/sass/base/_base.scss
+4
-0
No files found.
common/lib/capa/capa/templates/textbox.html
View file @
aa855eec
...
...
@@ -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>
lms/static/sass/base/_base.scss
View file @
aa855eec
...
...
@@ -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
;
...
...
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