Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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
  • Loading branch information...
commit 8626c0f59468889782ca5f95a519aed9b229d6bd 1 parent aae4f97
Wilson Miner authored
View
4 django/contrib/admin/media/css/global.css
@@ -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
4 django/contrib/admin/media/js/admin/ordering.js
@@ -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() {
Please sign in to comment.
Something went wrong with that request. Please try again.