Skip to content

Commit cef1a99

Browse files
authored
Merge pull request #387 from web-ridge/bugfix/issue-380
refactor: fix date range overflow issue
2 parents 29321e0 + 88a77d7 commit cef1a99

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/Date/DayRange.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ function DayRange({
3535
<>
3636
<View
3737
style={[
38-
styles.rightCrop,
38+
styles.flex1,
3939
rightCrop
4040
? {
4141
backgroundColor: selectColor,
@@ -90,9 +90,6 @@ const styles = StyleSheet.create({
9090
rangeRoot: {
9191
flexDirection: 'row',
9292
},
93-
rightCrop: {
94-
flexBasis: 5,
95-
},
9693
})
9794

9895
export default React.memo(DayRange)

0 commit comments

Comments
 (0)