Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix dokuwiki plugin to autoresize codemirror.

  • Loading branch information...
commit d876233ac21959244012a89e187c9f16846f68e6 1 parent 2c8c0d0
@jasongrout jasongrout authored
Showing with 13 additions and 1 deletion.
  1. +13 −1 contrib/dokuwiki/conf/default.php
View
14 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;
+}
+';
Please sign in to comment.
Something went wrong with that request. Please try again.