-
Notifications
You must be signed in to change notification settings - Fork 268
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
.d2h-file-diff max-height #137
Comments
Actually I have no idea. That was a long time ago and my CSS skills are a bit limited. I can give it a try when I have some time. |
After a better look I discovered that |
If I replace |
Sorry for the delay answering. If you change that, when scrolling horizontally the lines wont be fixed on the left side. That might be the initial reason. |
Setting
|
Have you tried that on https://diff2html.xyz/demo?diff=https://github.com/rtfpessoa/diff2html/pull/106 for example? Does not seem to work for me. |
ahhh that looks nice. I even tested for side diffs if you apply it to Also if any of you wants yo send a PR with the details except the |
I would like to limit the height of every diff to e.g. 300 px. Therefore I do
but then line numbers do not follow. I see they are set to:
If I remove it, everything works just fine (at least it seems to).
Is there any particular reason for heaving
position: absolute
or can I just remove it?PS: Thanks a lot for this great library!
The text was updated successfully, but these errors were encountered: