From f09f744f81bbe1894ba1ad6fb5f883bb294eca18 Mon Sep 17 00:00:00 2001 From: Wilson Miner Date: Tue, 16 Sep 2008 00:40:10 +0000 Subject: [PATCH] Fixed #9074: Added overflow: hidden to the submit-row div to clear the floated contents and avoid collapsing when the Save button is all that's there. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9039 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/contrib/admin/media/css/forms.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/django/contrib/admin/media/css/forms.css b/django/contrib/admin/media/css/forms.css index 713665f2d0..d55aa11483 100644 --- a/django/contrib/admin/media/css/forms.css +++ b/django/contrib/admin/media/css/forms.css @@ -44,9 +44,9 @@ fieldset.collapsed .collapse-toggle { padding:3px 5px !important; background:tra fieldset.monospace textarea { font-family:"Bitstream Vera Sans Mono",Monaco,"Courier New",Courier,monospace; } /* SUBMIT ROW */ -.submit-row { padding:5px 7px; text-align:right; background:white url(../img/admin/nav-bg.gif) 0 100% repeat-x; border:1px solid #ccc; margin:5px 0; } +.submit-row { padding:5px 7px; text-align:right; background:white url(../img/admin/nav-bg.gif) 0 100% repeat-x; border:1px solid #ccc; margin:5px 0; overflow:hidden; } .submit-row input { margin:0 0 0 5px; } -.submit-row p { margin-top:0.3em; } +.submit-row p { margin:0.3em; } .submit-row p.deletelink-box { float: left; } .submit-row .deletelink { background:url(../img/admin/icon_deletelink.gif) 0 50% no-repeat; padding-left:14px; }