diff options
author | Valerio Virgillito | 2012-05-08 11:09:27 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-05-08 11:09:27 -0700 |
commit | 53747ce689ddcdc19e586b30d6f356b3b0539731 (patch) | |
tree | f3692860db5938bc70a3c980652e176c4a13b65d /js/stage | |
parent | 526e423e4a2734c2b139af23911e912452a4443f (diff) | |
parent | 157632ce32b4e71e1f08278cf712ff4f2c835226 (diff) | |
download | ninja-53747ce689ddcdc19e586b30d6f356b3b0539731.tar.gz |
Merge pull request #197 from ananyasen/code-editor-patch
Patch to fix code editor issue with latest montage
Diffstat (limited to 'js/stage')
-rwxr-xr-x | js/stage/stage-view.reel/stage-view.css | 29 |
1 files changed, 10 insertions, 19 deletions
diff --git a/js/stage/stage-view.reel/stage-view.css b/js/stage/stage-view.reel/stage-view.css index e2c4bb0e..8afb52a2 100755 --- a/js/stage/stage-view.reel/stage-view.css +++ b/js/stage/stage-view.reel/stage-view.css | |||
@@ -17,29 +17,20 @@ | |||
17 | cursor:text; | 17 | cursor:text; |
18 | } | 18 | } |
19 | 19 | ||
20 | .codeViewContainer>div{ | 20 | .codeViewContainer .CodeMirror { |
21 | width:2500px;/*to prevent scrolling of editor container in the middle of the page for short files*/ | 21 | width: 100%; |
22 | height: 100%; | ||
23 | background: white; | ||
22 | } | 24 | } |
23 | 25 | ||
24 | /* OLD CSS for reference | 26 | .codeViewContainer .CodeMirror-scroll { |
25 | #mainContent #codeMirror_1 { | 27 | height: 100%; |
26 | height:100%; | 28 | overflow: auto; |
27 | } | 29 | } |
28 | */ | ||
29 | |||
30 | /*.CodeMirror {*/ | ||
31 | /*width: 100%;*/ | ||
32 | /*height: 100%;*/ | ||
33 | /*background: white;*/ | ||
34 | /*}*/ | ||
35 | |||
36 | /*.CodeMirror .CodeMirror-scroll {*/ | ||
37 | /*height: 100%;*/ | ||
38 | /*overflow: scroll;*/ | ||
39 | /*overflow-x: auto;*/ | ||
40 | /*overflow-y: auto;*/ | ||
41 | /*}*/ | ||
42 | 30 | ||
31 | .codeViewContainer>div{ | ||
32 | width:2500px;/*to prevent scrolling of editor container in the middle of the page for short files*/ | ||
33 | } | ||
43 | 34 | ||
44 | span.CodeMirror-matchhighlight { background: #e9e9e9 } | 35 | span.CodeMirror-matchhighlight { background: #e9e9e9 } |
45 | .CodeMirror-focused span.CodeMirror-matchhighlight { background: #e7e4ff; !important } | 36 | .CodeMirror-focused span.CodeMirror-matchhighlight { background: #e7e4ff; !important } |