View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0023336 | mantisbt | html | public | 2017-09-09 07:44 | 2018-09-04 01:23 |
Reporter | j_schultz | Assigned To | atrol | ||
Priority | normal | Severity | minor | Reproducibility | sometimes |
Status | closed | Resolution | fixed | ||
Product Version | 2.6.0 | ||||
Target Version | 2.17.0 | Fixed in Version | 2.17.0 | ||
Summary | 0023336: Inline image attachments should have their own container to prevent scrolling | ||||
Description | If a large image is displayed as an inline attachment, it may cause the browser to add a horizontal scrollbar to the entire comments section. Putting overflow:auto or overflow:scroll on the <div> that contains the inline attachments should hopefully fix this issue. | ||||
Tags | No tags attached. | ||||
I confirm the behavior and agree this should be fixed. |
|
We patched this issue with adding this css rule: .bug-attachment-preview-image img { |
|
A surprisingly simple solution compared to what I have tried before, and it seems to work beautifully! |
|
Thanks @j_schultz ! |
|
PR https://github.com/mantisbt/mantisbt/pull/1375 |
|