[[Image(https://imgur.com/DBCtz6W.png)]]
The solution here can be to do:
{{{
#changelist-filter a {
....
text-overflow: ellipsis;
overflow: hidden;
}
}}}
But the user is loosing the full value, so a `title` should be added too
to the link
--
Ticket URL: <https://code.djangoproject.com/ticket/26872>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* needs_better_patch: => 0
* stage: Unreviewed => Accepted
* needs_tests: => 0
* needs_docs: => 0
--
Ticket URL: <https://code.djangoproject.com/ticket/26872#comment:1>
* status: new => assigned
* owner: nobody => kennethyang404
--
Ticket URL: <https://code.djangoproject.com/ticket/26872#comment:2>
* has_patch: 0 => 1
--
Ticket URL: <https://code.djangoproject.com/ticket/26872#comment:3>
* needs_better_patch: 0 => 1
Comment:
A few test failures need to be fixed.
--
Ticket URL: <https://code.djangoproject.com/ticket/26872#comment:4>
Comment (by kennethyang404):
Sorry this is my first time contributing to Django. Do you think I need to
write a separate test for my patch or just fix the existing ones?
Replying to [comment:4 timgraham]:
> A few test failures need to be fixed.
--
Ticket URL: <https://code.djangoproject.com/ticket/26872#comment:5>
Comment (by timgraham):
Fixing the existing ones should cover the change.
--
Ticket URL: <https://code.djangoproject.com/ticket/26872#comment:6>
Comment (by kennethyang404):
Fixed.
Replying to [comment:6 timgraham]:
> Fixing the existing ones should cover the change.
--
Ticket URL: <https://code.djangoproject.com/ticket/26872#comment:7>
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"2f587737d7acffbd67cb8f427c5fbc5c42ae60c8" 2f587737]:
{{{
#!CommitTicketReference repository=""
revision="2f587737d7acffbd67cb8f427c5fbc5c42ae60c8"
Fixed #26872 -- Fixed text overflow in ModelAdmin.list_filter.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/26872#comment:8>
Comment (by mdamien):
Thanks, that was fast ! I was first planning on submitting the PR myself
but it got picked up so quickly :)
--
Ticket URL: <https://code.djangoproject.com/ticket/26872#comment:9>
Comment (by GitHub <noreply@…>):
In [changeset:"361bb8f786f112ee275be136795c0b1ecefff928" 361bb8f7]:
{{{
#!CommitTicketReference repository=""
revision="361bb8f786f112ee275be136795c0b1ecefff928"
Refs #26872 -- Fixed wrapping of long choices in ModelAdmin.list_filter.
Regression in 269a76714616fd7ad166a14113f3354bab8d9b65.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/26872#comment:10>