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

cuelang.org: code-tabs inside info blocks have unwanted extra vertical spaces #3796

Open
jpluscplusm opened this issue Mar 6, 2025 · 2 comments
Labels
cuelang.org frontend cuelang.org frontend UI/UX related NeedsInvestigation

Comments

@jpluscplusm
Copy link
Collaborator

What page were you looking at?

https://cl-1210794-1--cue-cls.netlify.app/docs/draft/bugs/terminal-inside-info/

What version of the site were you looking at?

cue-lang/cuelang.org@89bc8d4

What did you do?

I caused the preprocessor to place a code-tab inside an info block.

What did you expect?

That the code-tab would contain consistently-formatted text, no matter if it were inside or outside an info (or warning or caution) block.

What did you see instead?

The code-tab's text gained an extra leading and extra trailing newline:

Image

@myitcv
Copy link
Member

myitcv commented Mar 8, 2025

@jpluscplusm - this is marked as "backlog" - so I'm assuming not a priority?

@jpluscplusm
Copy link
Collaborator Author

this is marked as "backlog" - so I'm assuming not a priority?

Yes; I felt this could happily wait until after the first week of April so as not to contend with any other frontend work that's more important.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cuelang.org frontend cuelang.org frontend UI/UX related NeedsInvestigation
Projects
Status: Backlog
Development

No branches or pull requests

2 participants