On Mon, 17 Mar 2025 16:06:58 GMT, Hannes Wallnöfer <hann...@openjdk.org> wrote:

> Please review a patch to fix a number of display bugs in javadoc-generated 
> documentation.
> 
>  -  Snippet copy button is transparent and can overlap with snippet content 
> ([before][snippet-before], [after][snippet-after])
>  - After clicking on the second-to-last item in the sidebar, the last item is 
> highlighted if the click triggers scrolling to the end of the page 
> ([before][target-before], [after][target-after])
>  - No indentation on sidebar entries beyond the first two levels of hierarchy 
> ([before][indent-before], [after][indent-after])
>  - (Minor) Add vertical margin to search page inputs so they look better when 
> wrapped
> 
> [snippet-before]: 
> https://download.java.net/java/early_access/jdk25/docs/api/java.base/java/lang/invoke/MethodHandle.html#asSpreader(int,java.lang.Class,int)
> [snippet-after]: 
> https://cr.openjdk.org/~hannesw/8352151/api.00/java.base/java/lang/invoke/MethodHandle.html#asSpreader(int,java.lang.Class,int)
> 
> [target-before]: 
> https://download.java.net/java/early_access/jdk25/docs/api/java.base/java/lang/Thread.Builder.html#start(java.lang.Runnable)
> [target-after]: 
> https://cr.openjdk.org/~hannesw/8352151/api.00/java.base/java/lang/Thread.Builder.html#start(java.lang.Runnable)
> 
> [indent-before]: 
> https://download.java.net/java/early_access/jdk25/docs/api/help-doc.html
> [indent-after]: https://cr.openjdk.org/~hannesw/8352151/api.00/help-doc.html
> 
> The sidebar highlighting script actually became simpler, which is great. The 
> snippet copy button change is a bit more involved, because I had to change 
> snippet layout to not overlay snippet content with the copy button, and make 
> the button opaque. But the result is better than what we had before IMO. The 
> other changes are simple one-liners.

This pull request has now been integrated.

Changeset: 28250f83
Author:    Hannes Wallnöfer <hann...@openjdk.org>
URL:       
https://git.openjdk.org/jdk/commit/28250f83b728c9b3395d9c4858568a3603172b8a
Stats:     95 lines in 2 files changed: 19 ins; 45 del; 31 mod

8352151: Fix display issues in javadoc-generated docs

Reviewed-by: liach, nbenalla

-------------

PR: https://git.openjdk.org/jdk/pull/24083

Reply via email to