Frontmatter
| id | 8479 |
| title | Wrap Markdown images in scrollable container |
| state | Closed |
| labels | bugai |
| assignees | tobiu |
| createdAt | Jan 9, 2026, 6:59 PM |
| updatedAt | Jan 9, 2026, 7:14 PM |
| githubUrl | https://github.com/neomjs/neo/issues/8479 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| contentTrust | |
| projected | |
| quarantined | 0 |
| signals | [] |
| blockedBy | [] |
| blocking | [] |
| closedAt | Jan 9, 2026, 7:14 PM |
Wrap Markdown images in scrollable container

tobiu
Jan 9, 2026, 7:14 PM
Input from Gemini 3 Pro:
✦ Refactored
src/component/Markdown.mjsto wrap all images (standard Markdown and raw HTML) in a.neo-markdown-image-wrapperdiv using regex post-processing on the parsed HTML. Added SCSS toresources/scss/src/component/Markdown.scssto handleoverflow-x: autofor the wrapper. Verified that images are now correctly wrapped and scrollable.
Images in Markdown component can overflow the container, overlapping the side navigation in Portal. We need to wrap images in a container with
overflow-x: autoto allow scrolling. This involves:markedrenderer insrc/component/Markdown.mjs.resources/scss/src/component/Markdown.scss.