Skip to content

Commit

Permalink
Merge pull request #387 from web-ridge/bugfix/issue-380
Browse files Browse the repository at this point in the history
refactor: fix date range overflow issue
  • Loading branch information
iM-GeeKy authored May 15, 2024
2 parents 29321e0 + 88a77d7 commit cef1a99
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/Date/DayRange.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ function DayRange({
<>
<View
style={[
styles.rightCrop,
styles.flex1,
rightCrop
? {
backgroundColor: selectColor,
Expand Down Expand Up @@ -90,9 +90,6 @@ const styles = StyleSheet.create({
rangeRoot: {
flexDirection: 'row',
},
rightCrop: {
flexBasis: 5,
},
})

export default React.memo(DayRange)

0 comments on commit cef1a99

Please sign in to comment.