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

I-Beam headers have undesirable wrapping #70

Open
FionaDyalog opened this issue Jan 16, 2025 · 4 comments
Open

I-Beam headers have undesirable wrapping #70

FionaDyalog opened this issue Jan 16, 2025 · 4 comments

Comments

@FionaDyalog
Copy link

The code element of the header should not wrap.

For example, see https://dyalog.github.io/documentation/20.0/language-reference-guide/the-i-beam-operator/enable-compression-of-large-components/

On this page, as you take the page from very wide to narrower it alternates between wrapping the expression and not!

@FionaDyalog
Copy link
Author

Not just I-beams, seeing this in other places too, for example, system functions.

@bear8642
Copy link

Not just an issue with narrowing the page - code element wraps when the page has space for the right hand contents menu too

@xpqz
Copy link
Collaborator

xpqz commented Jan 17, 2025

Well, what would you have it do instead? It's a responsive design, responding to changes in the viewport. If the width is too narrow for the content to fit, it must wrap.

@xpqz xpqz changed the title LangRef: I-Beam headers have undesirable wrapping I-Beam headers have undesirable wrapping Jan 17, 2025
@FionaDyalog
Copy link
Author

It is wrapping before it needs to, and when the text could wrap instead. Let's discuss implementation and I'll describe how it's done in my Flare project and viable options for MKdocs (for example, moving the entire syntax section to a new line if there is insufficient space).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants