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

Lengthy code getting displayed only partially even with "Show more" on IBM Developer #5684

Closed
narshars opened this issue Mar 24, 2020 · 3 comments

Comments

@narshars
Copy link

We received a mail saying two of the code-listings in a tutorial on IBM Developer are incomplete, when trying to view in-line using the "show more" option.

i.e. testke.c and libwrapper.c from https://developer.ibm.com/tutorials/control-ibm-aix-kernel-extensions/

The "copy" icon copies the whole code. But, the "show more" option only displays the first 94 lines in both cases.

@emyarod
Copy link
Member

emyarod commented Mar 24, 2020

can you create a reduced test case in Code Sandbox for easier testing and debugging?

@tw15egan
Copy link
Collaborator

The issue is caused because of the max-height set on the snippet container, used for transitions. This can be overridden to a larger value as a temporary fix.

@tw15egan
Copy link
Collaborator

Seems like this issue was resolved in #4915 so I'd recommend upgrading to the latest version, or overriding the set max-height to max-height: 100%

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