Opened 4 years ago

Closed 4 years ago

#16331 closed Cleanup/optimization (fixed)

Wrap whitespace in <pre> tag in the TECHNICAL_500_TEMPLATE

Reported by: anh.hai.trinh@… Owned by: nobody
Component: Core (Other) Version: 1.2
Severity: Normal Keywords:
Cc: 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

The TECHNICAL_500_TEMPLATE can display a very long exception value in one line, which is very difficult to see as a whole (you'd have to scroll horizontally). This changeset apply the css 'white-space: pre-wrap' style to the <pre> tag to wrap it to browsers' width.

Attachments (1)

TECHNICAL_500_TEMPLATE-pre-whitespace-pre-wrap.patch (842 bytes) - added by chickamade 4 years ago.
patch as described in the ticket

Download all attachments as: .zip

Change History (4)

Changed 4 years ago by chickamade

patch as described in the ticket

comment:1 Changed 4 years ago by anonymous

  • Easy pickings set
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • UI/UX set

comment:2 Changed 4 years ago by lrekucki

  • Triage Stage changed from Unreviewed to Ready for checkin

comment:3 Changed 4 years ago by mtredinnick

  • Resolution set to fixed
  • Status changed from new to closed

In [16637]:

Pre-formatted text wrapping change in technical debug page.

In (typically rare) cases, a very long exception line can appear that
requires horiztonal scrolling in the cut-and-paste exception layout box.
To make this fractionally more readable, we pre-wrap the text now.

Fixes #16331, based on a patch from Trinh Hai-Anh.

Note: See TracTickets for help on using tickets.
Back to Top