Skip to content

Commit

Permalink
fix(component): Fixed TimePicker wrong scroll style
Browse files Browse the repository at this point in the history
  • Loading branch information
myxvisual committed Jun 20, 2017
1 parent b5183fc commit a6ffb6a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/DatePicker/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ function getStyles(datePicker: DatePicker): {
width: "100%",
height: pickerItemHeight * 7,
padding: `${pickerItemHeight * 3}px 0`,
overflowY: "auto",
overflowY: "inherit",
overflowX: "hidden",
flex: "1 1 auto"
}),
Expand Down
4 changes: 2 additions & 2 deletions src/TimePicker/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -304,9 +304,9 @@ function getStyles(TimePicker: TimePicker): {
border: "none",
borderLeft: `1px solid ${theme.listLow}`,
width: "100%",
height: pickerItemHeight,
padding: `${pickerItemHeight * 3}px 0`,
overflowY: "auto",
height: pickerItemHeight * 7,
overflowY: "inherit",
overflowX: "hidden",
flex: "1 1 auto"
}),
Expand Down

0 comments on commit a6ffb6a

Please sign in to comment.