#1389 closed defect (fixed)
Bug in admin stylesheet? (magic-removal)
Reported by: | Owned by: | Adrian Holovaty | |
---|---|---|---|
Component: | contrib.admin | Version: | magic-removal |
Severity: | normal | Keywords: | |
Cc: | cmlenz@… | Triage Stage: | Unreviewed |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Hi,
I'm getting some funnys with the collapsed fieldsets using the magic-removal branch. I'm not sure if it's fixed in another branch, or if magic-removal is even the right place to fix it. Anyways, here's the patch:
--- magic-removal/django/contrib/admin/media/css/global.css.orig 2006-02-23 10:49:01.000000000 +0200 +++ magic-removal/django/contrib/admin/media/css/global.css 2006-02-23 10:48:18.000000000 +0200 @@ -167,10 +167,9 @@ /* COLLAPSED FIELDSETS */ fieldset.collapsed * { display:none; } -fieldset.collapsed h2, fieldset.collapsed .collapse-toggle { display:block !important; } +fieldset.collapsed h2, fieldset.collapsed { display:block !important; } fieldset.collapsed h2 { background-image:url(../img/admin/nav-bg.gif); background-position:bottom left; color:#999; } -fieldset.collapsed .collapse-toggle { padding:3px 5px !important; background:#efefef; } -fieldset.collapsed .collapse-toggle a { display:inline !important; } +fieldset.collapsed .collapse-toggle { padding:3px 5px !important; background: transparent; display:inline !important;} /* MONOSPACE TEXTAREAS */ fieldset.monospace textarea { font-family:"Bitstream Vera Sans Mono",Monaco,"Courier New",Courier,monospace; }
As you can see, the wrong things were being made block-level, and so the "Show" link was appearing on the line below the fieldset's title.
Patch tested in FF 1.0.x and IE 6.0
Russell
Change History (2)
comment:1 by , 19 years ago
Cc: | added |
---|
comment:2 by , 19 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Seeing the same thing here, and your patch fixes the issue.