You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the table on the Licenses page in Help > Licenses, the font color of the selected package lacks color contrast with the background:
Reproduce
Go to Help > Licenses in the top menu.
Select a package from the license table.
Expected behavior
The font color contrasts with the background, and the background color is blue, similar to what happens in the file browser:
Additionally, the background color should not change when hovering over the selected row, similar to what happens in the file browser.
Possible solutions
To achieve this behavior, I think the table styles (e.g., .jp-RenderedHTMLCommon tbody tr:nth-child(odd)) should be applied taking into account whether the .jp-mod-selected class is present or not (in the <tr> element), similar to what happens in the file browser:
Hi! 👋
Description
In the table on the Licenses page in
Help
>Licenses
, the font color of the selected package lacks color contrast with the background:Reproduce
Help
>Licenses
in the top menu.Expected behavior
The font color contrasts with the background, and the background color is blue, similar to what happens in the file browser:
Additionally, the background color should not change when hovering over the selected row, similar to what happens in the file browser.
Possible solutions
To achieve this behavior, I think the table styles (e.g.,
.jp-RenderedHTMLCommon tbody tr:nth-child(odd)
) should be applied taking into account whether the.jp-mod-selected
class is present or not (in the<tr>
element), similar to what happens in the file browser:jupyterlab/packages/filebrowser/style/base.css
Line 304 in 841b339
An alternative is to update the license table styles to make them more specific:
jupyterlab/packages/help-extension/style/base.css
Line 221 in 841b339
Current workaround for a custom theme
Context
Let me know what you think and if I can open a PR. Thanks!
The text was updated successfully, but these errors were encountered: