From 06edf11a0382b008ae0de40a481feb0843b93805 Mon Sep 17 00:00:00 2001 From: Wilson Miner Date: Fri, 2 Jun 2006 15:33:30 +0000 Subject: [PATCH] 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 --- django/contrib/admin/media/css/layout.css | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/django/contrib/admin/media/css/layout.css b/django/contrib/admin/media/css/layout.css index c8eb42650f..befe4fc1ca 100644 --- a/django/contrib/admin/media/css/layout.css +++ b/django/contrib/admin/media/css/layout.css @@ -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; }