Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #1999 -- Sidebar widths are now specified in ems and will scale…

… up with increasing font size.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@3065 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 06edf11a0382b008ae0de40a481feb0843b93805 1 parent cfc546f
Wilson Miner authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 django/contrib/admin/media/css/layout.css
8 django/contrib/admin/media/css/layout.css
View
@@ -3,13 +3,13 @@
#content { margin:10px 15px; }
#header { width:100%; }
#content-main { float:left; width:100%; }
-#content-related { float:right; width:220px; position:relative; margin-right:-230px; }
+#content-related { float:right; width:18em; position:relative; margin-right:-19em; }
#footer { clear:both; padding:10px; }
/* COLUMN TYPES */
-.colMS { margin-right:245px !important; }
-.colSM { margin-left:245px !important; }
-.colSM #content-related { float:left; margin-right:0; margin-left:-230px; }
+.colMS { margin-right:20em !important; }
+.colSM { margin-left:20em !important; }
+.colSM #content-related { float:left; margin-right:0; margin-left:-19em; }
.colSM #content-main { float:right; }
.popup .colM { width:95%; }
.subcol { float:left; width:46%; margin-right:15px; }
Please sign in to comment.
Something went wrong with that request. Please try again.