Set size of wiki circuits

This commit is contained in:
Bridger Maxwell
2012-03-29 16:39:06 -07:00
parent d51341301d
commit 4938fb63da
3 changed files with 7 additions and 8 deletions

View File

@@ -59,7 +59,7 @@ class CircuitLink(markdown.inlinepatterns.Pattern):
data = m.group('data')
data = escape(data)
##TODO: We need to html escape the data
return etree.fromstring("<div align='center'><input type='hidden' parts='' value='" + data + "' analyses='' class='schematic ctrls' width='150' height='150'/></div>")
return etree.fromstring("<div align='center'><input type='hidden' parts='' value='" + data + "' analyses='' class='schematic ctrls' width='500' height='300'/></div>")
def makeExtension(configs=None) :

View File

@@ -1,5 +1,5 @@
var schematic_height = 153;
var schematic_width = 400;
var schematic_height = 300;
var schematic_width = 500;
$(function(){
$(document).ready(function() {

View File

@@ -19,14 +19,13 @@
<style type="text/css">
.CodeMirror-scroll {
height: 800px;
width: 680px;
}
.CodeMirror-scroll {
min-height: 550px;
width: 100%;
}
.CodeMirror {
border: 1px solid black;
text-align: left;
}
</style>