Fixed positioning of ordering widget with liquid page widths.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@2234 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Wilson Miner 2006-02-02 17:09:26 +00:00
parent aae4f9701c
commit 8626c0f594
2 changed files with 4 additions and 4 deletions

View File

@ -281,7 +281,7 @@ ul.timelist, .timelist li { list-style-type:none; margin:0; padding:0; }
.timelist a { padding:2px; }
/* ORDERING WIDGET */
ul#orderthese { padding:0; margin:0; list-style-type:none; }
ul#orderthese { position:absolute; top:8em; right:0; width:240px; padding:0; margin:0; list-style-type:none; }
ul#orderthese li { list-style-type:none; display:block; padding:0; margin:6px 0; width:214px; background:#f6f6f6; white-space:nowrap; overflow:hidden; }
ul#orderthese li span { display:block; border:1px solid #e7e7e7; background:transparent url(../img/admin/nav-bg-grabber.gif) top left repeat-y; font-size:10px !important; padding:4px 6px 4px 12px; }
ul#orderthese span:hover { background-color:#efefef; }
@ -322,4 +322,4 @@ p img, h1 img, h2 img, h3 img, h4 img, td img { vertical-align:middle; }
.vLargeTextField, .vXMLLargeTextField { width:480px; }
.colM .vLargeTextField, .colM .vXMLLargeTextField { width:720px; }
body.core-flatfile #id_content { height: 400px; }
.module table .vPositiveSmallIntegerField { width: 22px; }
.module table .vPositiveSmallIntegerField { width: 22px; }

View File

@ -1,8 +1,8 @@
addEvent(window, 'load', reorder_init);
var lis;
var top = 90;
var left = 545;
var top = 0;
var left = 0;
var height = 30;
function reorder_init() {