Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #21293 -- Adjusted admin header CSS to fix admin password reset…

… template.

By removing the absolute positioning of the usertools div and using
float positioning, the #header div will expand based on the height of
its content.

Thanks EvilDMP for the report.
  • Loading branch information...
commit 6f470650d097abbc06021efd50b2bdc3c9ce4d3b 1 parent 107c9f5
@timgraham timgraham authored
Showing with 4 additions and 3 deletions.
  1. +4 −3 django/contrib/admin/static/admin/css/base.css
View
7 django/contrib/admin/static/admin/css/base.css
@@ -796,6 +796,9 @@ table#change-history tbody th {
text-decoration: underline;
}
+#branding {
+ float: left;
+}
#branding h1 {
padding: 0 10px;
font-size: 18px;
@@ -820,9 +823,7 @@ table#change-history tbody th {
}
#user-tools {
- position: absolute;
- top: 0;
- right: 0;
+ float: right;
padding: 1.2em 10px;
font-size: 11px;
text-align: right;
Please sign in to comment.
Something went wrong with that request. Please try again.