Commit 021a896b by Bridger Maxwell

Set size of wiki circuits

parent db55356d
......@@ -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) :
......
var schematic_height = 153;
var schematic_width = 400;
var schematic_height = 300;
var schematic_width = 500;
$(function(){
$(document).ready(function() {
......
......@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment