Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
authored June 02, 2006

Showing 1 changed file with 4 additions and 4 deletions. Show diff stats Hide diff stats

  1. 8  django/contrib/admin/media/css/layout.css
8  django/contrib/admin/media/css/layout.css
@@ -3,13 +3,13 @@
3 3
 #content { margin:10px 15px; }
4 4
 #header { width:100%; }
5 5
 #content-main { float:left; width:100%; }
6  
-#content-related { float:right; width:220px; position:relative; margin-right:-230px; }
  6
+#content-related { float:right; width:18em; position:relative; margin-right:-19em; }
7 7
 #footer	{ clear:both; padding:10px; }
8 8
 
9 9
 /*  COLUMN TYPES  */
10  
-.colMS { margin-right:245px !important; }
11  
-.colSM { margin-left:245px !important; }
12  
-.colSM #content-related { float:left; margin-right:0; margin-left:-230px; }
  10
+.colMS { margin-right:20em !important; }
  11
+.colSM { margin-left:20em !important; }
  12
+.colSM #content-related { float:left; margin-right:0; margin-left:-19em; }
13 13
 .colSM #content-main { float:right; }
14 14
 .popup .colM { width:95%; }
15 15
 .subcol { float:left; width:46%; margin-right:15px; }

0 notes on commit 06edf11

Please sign in to comment.
Something went wrong with that request. Please try again.