Don't have time to dig through code and find the spot to suggest a proper PR right now, so I'm just dropping this here -- use if you wish.
When you generate an HTML report there are two panes. In the left, you have the file directory structure and as you select a file or directory, it shows the licenses it finds in the right pane.
For very large projects, I found it to be very annoying that as you scroll down in the left pane, the right pane scrolls as well, and each click on the left pane requires you to scroll back up in the right pane to see the results as you select new areas in the left pane.
Drop this in the <head> section of the output html to resolve -- and better yet someone can maybe make a PR or resolve the issue in a better way.
<style type="text/css">
#tree {
max-height: 70vh;
}
</style>
Don't have time to dig through code and find the spot to suggest a proper PR right now, so I'm just dropping this here -- use if you wish.
When you generate an HTML report there are two panes. In the left, you have the file directory structure and as you select a file or directory, it shows the licenses it finds in the right pane.
For very large projects, I found it to be very annoying that as you scroll down in the left pane, the right pane scrolls as well, and each click on the left pane requires you to scroll back up in the right pane to see the results as you select new areas in the left pane.
Drop this in the
<head>section of the output html to resolve -- and better yet someone can maybe make a PR or resolve the issue in a better way.