#31470: Overflow not respected when using `<pre>` tag in `<fieldset>` in the admin site. -------------------------------------+------------------------------------- Reporter: Nick Pope | Owner: Nick Pope Type: | Status: assigned Uncategorized | Component: | Version: master contrib.admin | Keywords: admin, fieldset, Severity: Normal | pre, overflow Triage Stage: | Has patch: 0 Unreviewed | Needs documentation: 0 | Needs tests: 0 Patch needs improvement: 0 | Easy pickings: 1 UI/UX: 1 | -------------------------------------+------------------------------------- When using the `<pre>` tag to render a read-only block of code/markup with syntax highlighting in a `<fieldset>`, overflow is not respected and the `<pre>` forces the `<fieldset>` to be wider.
This can be resolved by setting `min-width: 0` on `fieldset` in CSS. -- Ticket URL: <https://code.djangoproject.com/ticket/31470> 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 django-updates+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/050.d312ed01a301c8e181d33b407dde1779%40djangoproject.com.