docsy
docsy copied to clipboard
Paragraph with mathematical equation: wrong width
User guide, page Diagrams and formulae
https://www.docsy.dev/docs/adding-content/diagrams-and-formulae/
The screenshot says it all:
Actual:
The equation stretches to the right border (width: 100%).
Expected:
Like the surrounding text paragraphs, the paragrahp hlding the equation should have its CSS-property max-width set to 80%.
Watch out for overflow behavior on narrow viewports, too.
Not directly related but see the SCSS changes in https://github.com/kubernetes/website/pull/49795 for what I did to avoid problems here, and (I hope) a hint about the problem I tried to fix.