Permalink
Browse files

Fix dokuwiki plugin to autoresize codemirror.

  • Loading branch information...
1 parent 2c8c0d0 commit d876233ac21959244012a89e187c9f16846f68e6 Jason Grout committed Mar 30, 2013
Showing with 13 additions and 1 deletion.
  1. +13 −1 contrib/dokuwiki/conf/default.php
@@ -6,4 +6,16 @@
*/
$conf['url'] = 'https://sagecell.sagemath.org';
-$conf['style'] = '.sagecell .CodeMirror pre {padding: 0 4px !important; border: 0px !important; margin: 0 !important;}';
+$conf['style'] = '.sagecell .CodeMirror pre {
+ padding: 0 4px !important;
+ border: 0px !important;
+ margin: 0 !important;}
+.sagecell .CodeMirror {
+ height: auto;
+}
+.sagecell .CodeMirror-scroll {
+ overflow-y: auto;
+ overflow-x: auto;
+ max-height: 200px;
+}
+';

0 comments on commit d876233

Please sign in to comment.