Set size of wiki circuits
This commit is contained in:
@@ -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) :
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user