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:
parent
aae4f9701c
commit
8626c0f594
|
@ -281,7 +281,7 @@ ul.timelist, .timelist li { list-style-type:none; margin:0; padding:0; }
|
||||||
.timelist a { padding:2px; }
|
.timelist a { padding:2px; }
|
||||||
|
|
||||||
/* ORDERING WIDGET */
|
/* 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 { 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 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; }
|
ul#orderthese span:hover { background-color:#efefef; }
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
addEvent(window, 'load', reorder_init);
|
addEvent(window, 'load', reorder_init);
|
||||||
|
|
||||||
var lis;
|
var lis;
|
||||||
var top = 90;
|
var top = 0;
|
||||||
var left = 545;
|
var left = 0;
|
||||||
var height = 30;
|
var height = 30;
|
||||||
|
|
||||||
function reorder_init() {
|
function reorder_init() {
|
||||||
|
|
Loading…
Reference in New Issue