A diagram wider than the text column looks truncated rather than scrollable
Categories
(Developer Infrastructure :: Source Documentation, defect)
Tracking
(firefox158 fixed)
| Tracking | Status | |
|---|---|---|
| firefox158 | --- | fixed |
People
(Reporter: dao, Assigned: dao)
References
(Blocks 1 open bug)
Details
Attachments
(1 external file)
Since bug 2071258 a mermaid diagram wider than the body column scrolls inside its own box. Firefox's overlay scrollbars stay invisible until the reader scrolls, so the diagram just ends at the column edge and reads as a rendering fault.
On ipc/docs/ipdl.md the first sequence diagram is 1289px wide in a 767px column, and its right-hand messages are cut mid-word with nothing on screen to suggest they can be reached.
An edge fade on the scroll container is the usual cue, and it has to apply only while the container overflows, or it fades a diagram that fits. The extension's fullscreen button sits beside the diagram and is visible, so leaning on that instead is the alternative.
| Assignee | ||
Comment 1•2 months ago
|
||
ipc/docs/ipdl.md is the page to build and open. Its four diagrams run from 585 to 1289 pixels wide, so a window whose column width falls in that range shows both the fade on a diagram that scrolls and no fade on one that fits. The negative margin is what keeps the second case honest: a diagram scrolls at exactly the width it did before, since the padding the fade needs comes out of the column's gutter.
Updated•2 months ago
|
Comment 3•2 months ago
|
||
| bugherder | ||
Description
•