Skip to content

Commit 88a77d7

Browse files
committed
refactor: fix date range overflow issue
1 parent 45afec4 commit 88a77d7

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)