Widget:MattTest: Difference between revisions
Jump to navigation
Jump to search
Matt Pijoan (talk | contribs) No edit summary |
Matt Pijoan (talk | contribs) No edit summary |
||
Line 964: | Line 964: | ||
} | } | ||
}); | }); | ||
$("#formBuilder-container").ready(function(){ | |||
var div = $("#formBuilder-container"); | |||
if (div.css("padding-left").slice(0,-2) > 5) {div.css("padding-left","5px")} | |||
if (div.css("padding-right").slice(0,-2) > 5) {div.css("padding-right","5px")} | |||
if (div.css("padding-top").slice(0,-2) > 5) {div.css("padding-top","5px")} | |||
if (div.css("padding-bottom").slice(0,-2) > 5) {div.css("padding-bottom","5px")} | |||
}); | |||
$("#output-container").ready(function(){ | |||
var div = $("#output-container"); | |||
if (div.css("padding-left").slice(0,-2) > 5) {div.css("padding-left","5px")} | |||
if (div.css("padding-right").slice(0,-2) > 5) {div.css("padding-right","5px")} | |||
if (div.css("padding-top").slice(0,-2) > 5) {div.css("padding-top","5px")} | |||
if (div.css("padding-bottom").slice(0,-2) > 5) {div.css("padding-bottom","5px")} | |||
}); | |||
</script> | </script> | ||
<style type="text/css"> | <style type="text/css"> | ||
Line 1,179: | Line 1,195: | ||
</div> | </div> | ||
</div> | </div> | ||
</includeonly> | </includeonly> |