Use <div> for timezone warning in admin
Previously help_text was inserted as <p> in admin. This was changed in #27207 to use a <div>.
The addTimezoneWarning() function has "always" added the warning by inserting a <br> and <span>.
Also using a <div> with the help class here avoids problems with left-alignment of the inserted text (see attachment) and removes the need for the <br>.
PR: https://github.com/django/django/pull/15743
Change History
(6)
Description: |
modified (diff)
|
Triage Stage: |
Unreviewed → Accepted
|
Owner: |
changed from nobody to Florian Demmer
|
Triage Stage: |
Accepted → Ready for checkin
|
Resolution: |
→ fixed
|
Status: |
assigned → closed
|
In f3e2bb0: