Skip to content

Commit 3574705

Browse files
committed
Fix date range gap.
1 parent 1c84b45 commit 3574705

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/Date/DayRange.tsx

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

9598
export default React.memo(DayRange)

0 commit comments

Comments
 (0)