Skip to content

Commit 2dcbd47

Browse files
committed
fix: react-dropdown width
1 parent 582b680 commit 2dcbd47

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

packages/react-dropdown/src/Categories.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ const Category = styled.main`
4646
display: flex;
4747
flex-direction: ${props => (props.twoColumn ? 'row' : 'column')};
4848
flex-grow: 1;
49+
width: 100%;
4950
`;
5051

5152
export const Divider = styled.section`

packages/react-dropdown/src/Items.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ const Items = styled.ul`
4141
display: flex;
4242
flex-direction: column;
4343
flex-grow: 1;
44+
width: 100%;
4445
`;
4546

4647
export const HIGHLIGHTED = (props: { theme: Object }) =>

0 commit comments

Comments
 (0)