#34049: Admin - Scrollbar appears without overflowing content
---------------------------------+--------------------------------------
     Reporter:  Durieux          |                    Owner:  Durieux
         Type:  Bug              |                   Status:  assigned
    Component:  contrib.admin    |                  Version:  dev
     Severity:  Release blocker  |               Resolution:
     Keywords:                   |             Triage Stage:  Unreviewed
    Has patch:  1                |      Needs documentation:  0
  Needs tests:  0                |  Patch needs improvement:  0
Easy pickings:  1                |                    UI/UX:  1
---------------------------------+--------------------------------------
Changes (by Durieux):

 * has_patch:  0 => 1


Old description:

> 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.

New description:

 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

--

-- 
Ticket URL: <https://code.djangoproject.com/ticket/34049#comment:1>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018373fc6468-b95627e1-df2f-47f7-a43f-5addeb6502ef-000000%40eu-central-1.amazonses.com.

Reply via email to