Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Paragraph with mathematical equation: wrong width #2196

Open
deining opened this issue Feb 18, 2025 · 1 comment
Open

Paragraph with mathematical equation: wrong width #2196

deining opened this issue Feb 18, 2025 · 1 comment
Labels
bug Something isn't working needs-triage

Comments

@deining
Copy link
Collaborator

deining commented Feb 18, 2025

User guide, page Diagrams and formulae

https://www.docsy.dev/docs/adding-content/diagrams-and-formulae/

The screenshot says it all:

Image

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%.

@deining deining added bug Something isn't working needs-triage labels Feb 18, 2025
@sftim
Copy link

sftim commented Feb 23, 2025

Watch out for overflow behavior on narrow viewports, too.

Not directly related but see the SCSS changes in kubernetes/website#49795 for what I did to avoid problems here, and (I hope) a hint about the problem I tried to fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs-triage
Projects
None yet
Development

No branches or pull requests

2 participants