Skip to content

Commit c7e7363

Browse files
authored
Hide overflow for latest item on click (#1212)
* 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
1 parent 49acdd6 commit c7e7363

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/style/FileItemStyle.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,5 +107,6 @@ export const checkboxLabelContainerStyle = style({
107107

108108
export const checkboxLabelLastContainerStyle = style({
109109
display: 'flex',
110-
marginLeft: 'auto'
110+
marginLeft: 'auto',
111+
overflow: 'hidden'
111112
});

0 commit comments

Comments
 (0)