mirror of
https://github.com/django/django.git
synced 2024-11-29 22:56:46 +01:00
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.
This commit is contained in:
parent
107c9f5453
commit
6f470650d0
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user