Opened 20 months ago

Last modified 20 months ago

#34049 closed Bug

Admin - Scrollbar appears without overflowing content — at Version 1

Reported by: Durieux Owned by: Durieux
Component: contrib.admin Version: dev
Severity: Release blocker Keywords:
Cc: Thibaud Colas Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: yes

Description (last modified by Durieux)

A scrollbar appears on the admin pages even if content is smaller than the viewport.

This behavior is caused by an invisible SVG file used for the night mode toggle sprite.
The SVG image is taking some space in the bottom of the page.

Adding a CSS rule to add display: none to the element appears to solve the issue.

Link to the PR: https://github.com/django/django/pull/16109

Change History (1)

comment:1 by Durieux, 20 months ago

Description: modified (diff)
Has patch: set
Note: See TracTickets for help on using tickets.
Back to Top