Make canvas relatively positioned in workarea, centered in the workarea if small enough

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@722 eee81c28-f429-11dd-99c0-75d572ba1ddd
This commit is contained in:
Jeff Schiller
2009-09-28 20:14:18 +00:00
parent 7ea7c8933e
commit 6f5a5f1030
3 changed files with 24 additions and 6 deletions

View File

@@ -32,6 +32,7 @@ body {
width: 640px;
height: 480px;
-apple-dashboard-region:dashboard-region(control rectangle 0px 0px 0px 0px); /* for widget regions that shouldn't react to dragging */
position: relative;
}
#svg_editor div#palette_holder {