View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0027114 | mantisbt | ui | public | 2020-07-29 20:41 | 2022-05-29 03:51 |
Reporter | syncguru | Assigned To | community | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Target Version | 2.26.0 | Fixed in Version | 2.26.0 | ||
Summary | 0027114: Long unbreakable text does not auto wrap in bug details page | ||||
Description | I observed this by accident. It looks like very long text with no line breaks or spaces in bug description tables is not auto wrapped by our CSS thus render the page with possibly very long horizontal scrolling which is undesirable. See the string in | ||||
Steps To Reproduce | |||||
Tags | No tags attached. | ||||
Reopening per discussion in the PR https://github.com/mantisbt/mantisbt/pull/1690#issuecomment-674407921 |
|
@syncguru do you think you would be able to fix the wrapping in the table cells, without affecting the headers ? |
|
Found out a way not to affect the headers : https://github.com/mantisbt/mantisbt/pull/1761 |
|
Regression, see 0030268 |
|
MantisBT: master e10f2a25 2020-08-07 11:31 Committer: atrol Details Diff |
Wrap long text strings in tables Fixes 0027114 |
Affected Issues 0027114 |
|
mod - css/ace-mantis.css | Diff File | ||
MantisBT: revert-1690-27114-wrap-overflow 60d28cce 2020-08-16 02:20 Committer: community Details Diff |
Revert "Wrap long text strings in tables" This reverts commit e10f2a25cd1f6bed96768541f829863da65c4608. |
Affected Issues 0027114 |
|
mod - css/ace-mantis.css | Diff File | ||
MantisBT: master d31ed9e1 2022-05-05 12:47 Committer: community Details Diff |
Fix auto-wrap for long, unbreakable text These new CSS rules apply @syncguru's original solution [1] in a more selective way. The main problem with the initial approach was its application to the whole table. As CSS tables are divided in two main parts (header <thead> and body <tbody>), we can restrict the rule to <tbody>, which ensures that the the header's behavior is not affected. Fixes 0027114, PR https://github.com/mantisbt/mantisbt/pull/1761 [1]: see PR https://github.com/mantisbt/mantisbt/pull/1690, reverted in 60d28cce0569d2acd1daccce930e5215a1abda72 Co-authored-by: Malo MM. MAISONNEUVE <mmaisonneuve@cantoriel.local> |
Affected Issues 0027114 |
|
mod - css/ace-mantis.css | Diff File | ||
MantisBT: master 457f3982 2022-05-05 12:53 Details Diff |
Minor adjustments following merge of PR 1761 - Use `overflow-wrap` instead of legacy `word-wrap` - CSS for <pre> to prevent horizontal scrolling is no longer needed Issue 0027114, PR https://github.com/mantisbt/mantisbt/pull/1761 |
Affected Issues 0027114 |
|
mod - css/ace-mantis.css | Diff File | ||
MantisBT: i30278-remove-cftype-const 7a77360c 2022-05-16 12:03 Details Diff |
Apply overflow-wrap more selectively Issue 0027114 introduced a regression in the bugnotes count column's display on View Issues page. We now only target those fields susceptible to have long, unbreakable content (i.e. textarea fields), by - adding markup to Textarea custom fields (`cftype-textarea` class) - using more precise CSS selectors for description, steps-to-reproduce, additional-information and bugnotes, as well as Textarea custom fields (using the new cftype-textarea class). Fixes 0030268 |
Affected Issues 0027114, 0030268 |
|
mod - bug_view_inc.php | Diff File | ||
mod - core/custom_function_api.php | Diff File | ||
mod - css/ace-mantis.css | Diff File |