Bug #5433
closeddiag_logs.php - Line wrapping issues with long unbroken lines
80%
Description
Looks like if there is a log line long enough it causes the timestamp column to wrap, too, which negatively impacts the formatting for many more lines than it should.
Can that one column be set not to wrap?
Also in that case it the line is still causing a horizontal scroll bar since it's all run together and not breaking properly it never wraps. (See #5395 for more discussion on that)
Updated by Anonymous almost 9 years ago
- Status changed from Confirmed to Feedback
- Assignee changed from Anonymous to Jim Pingle
Fixed as requested.
Updated by Anonymous almost 9 years ago
- % Done changed from 0 to 100
Applied in changeset pfsense:67bfaf25c99526f5934085b680f96a6aaac71737.
Updated by jeroen van breedam almost 9 years ago
there's still the issue of the horizontal scrollbar.
i came across a PR for releng2_2 that had this solution for it: https://github.com/pfsense/pfsense/pull/2002/files
style="word-wrap:break-word; max-width:970px;
i've been trying max-width:inherit; but that doesn't seem to work // max-width:calc(100%-200px) ; doesn't work.
anyways, maybe someone can find a way todo this cleanly without setting static # px
Updated by Jim Pingle almost 9 years ago
- Status changed from Feedback to Assigned
- Assignee changed from Jim Pingle to Anonymous
- % Done changed from 100 to 80
The time column is good, still have a wrapping issue with long unbroken lines like these:
Nov 12 08:01:17 kernel: Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> Nov 12 08:01:17 kernel: Features2=0x43d8e3bf<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,MOVBE,POPCNT,TSCDLT,AESNI,RDRAND>
Updated by Anonymous almost 9 years ago
One solution is to add word break opportunity tags every few character to allow the strings to break even though there are no spaces. I'll put together a demonstration tomorrow.
Updated by jeroen van breedam almost 9 years ago
please check https://github.com/pfsense/pfsense/pull/2062
this works on my home setup, tested on chrome&firefox; no clue if this works in every circumstance.
Updated by Anonymous almost 9 years ago
- Status changed from Assigned to Feedback
- Assignee changed from Anonymous to Jim Pingle
Addressed in PR #2062 now merged.
Updated by Jim Pingle almost 9 years ago
- Status changed from Feedback to Resolved
Looks good here now, wrapping is happening only where it should and there is no more horizontal scroll, thanks!