As far as I can tell from checking out git tags, this seems to occur at
least back to 2.2 (???? that can't be right, but OK!), and before that I
start getting issues with code which has moved that my project doesn't
support, so ... it may go back further.
A cursory play around with my devtools suggests that the following fixes
it:
{{{
table.vars {
margin: 5px 10px 2px 40px;
width: auto;
}
}}}
Specifically:
- Restore the `width` to not be `100%` (which is currently applied to all
`table`) and use `auto` or `inherit` or `initial` instead.
- Add `10px` right margin so the table lines up vertically with it's
related context lines.
Attaching a gif which shows a slice of the issue.
--
Ticket URL: <https://code.djangoproject.com/ticket/33457>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* Attachment "te500-scroll.gif" added.
animated gif showing the table's end being off-screen, forcing an
horizontal scrollbar to appear when Local vars are toggled
* owner: (none) => Hrushikesh Vaidya
* status: new => assigned
* has_patch: 0 => 1
* ui_ux: 0 => 1
Comment:
[https://github.com/django/django/pull/15348 PR]
--
Ticket URL: <https://code.djangoproject.com/ticket/33457#comment:1>
* stage: Unreviewed => Accepted
Comment:
Thanks for the report.
--
Ticket URL: <https://code.djangoproject.com/ticket/33457#comment:2>
* stage: Accepted => Ready for checkin
--
Ticket URL: <https://code.djangoproject.com/ticket/33457#comment:3>
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"89d137f3be1685dfc2ce0968835c73667bffb0ba" 89d137f3]:
{{{
#!CommitTicketReference repository=""
revision="89d137f3be1685dfc2ce0968835c73667bffb0ba"
Fixed #33457 -- Fixed "Local vars" scrolling in technical 500 debug page.
Thanks Keryn Knight for the report and the initial patch.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/33457#comment:4>