Skip to content

Commit

Permalink
Hide overflow for latest item on click (jupyterlab#1212)
Browse files Browse the repository at this point in the history
* Set overflow in both directions to hidden

Otherwise a vertical scrollbar will appear when child button is clicked.

* Move overflow: hidden to button wrapper

This is the closest parent container to the button so it's more accurate
  • Loading branch information
ardislu authored and fcollonval committed Feb 15, 2023
1 parent 91c06d8 commit 7df3391
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/style/FileItemStyle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,5 +107,6 @@ export const checkboxLabelContainerStyle = style({

export const checkboxLabelLastContainerStyle = style({
display: 'flex',
marginLeft: 'auto'
marginLeft: 'auto',
overflow: 'hidden'
});

0 comments on commit 7df3391

Please sign in to comment.