Skip to content

Commit

Permalink
Hide overflow for latest item on click (#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 Feb 7, 2023
1 parent 49acdd6 commit c7e7363
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 c7e7363

Please sign in to comment.