Skip to content
This repository was archived by the owner on Mar 4, 2020. It is now read-only.

Commit 04083aa

Browse files
committed
fixed toggle indicator position
1 parent ed2307a commit 04083aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/themes/teams/components/Dropdown/dropdownStyles.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,9 @@ const dropdownStyles: ComponentSlotStylesInput<DropdownProps & DropdownState, Dr
2323
selectedItems: ({ props: p, variables: v }): ICSSInJSStyle => ({
2424
display: 'flex',
2525
flexWrap: 'wrap',
26-
maxHeight: v.selectedItemsMaxHeight,
2726
overflowY: 'auto',
27+
maxHeight: v.selectedItemsMaxHeight,
28+
...(p.toggleIndicator && { paddingRight: v.toggleIndicatorSize }),
2829
}),
2930

3031
button: ({ variables: v }): ICSSInJSStyle => {
@@ -87,7 +88,6 @@ const dropdownStyles: ComponentSlotStylesInput<DropdownProps & DropdownState, Dr
8788
justifyContent: 'center',
8889
alignItems: 'center',
8990
userSelect: 'none',
90-
bottom: 0,
9191
right: 0,
9292
}),
9393
}

0 commit comments

Comments
 (0)