Skip to content

Commit 69a46f1

Browse files
committed
removing width to allow flex
1 parent 0e60114 commit 69a46f1

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,3 +78,7 @@
7878
## [1.204.0] - 2019-08-6
7979
### Fix
8080
- CalendarProvider - adding 'buttonTopPosition' prop to control the button's y position.
81+
82+
## [1.204.0] - 2019-08-15
83+
### Fix
84+
- Week - fix for style - removing width to allow flex.

src/expandableCalendar/week.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ import SingleDay from '../calendar/day/custom';
1616
import Calendar from '../calendar';
1717

1818

19-
const commons = require('./commons');
2019
const EmptyArray = [];
2120

2221
class Week extends Component {
@@ -162,7 +161,7 @@ class Week extends Component {
162161

163162
return (
164163
<View style={this.style.container}>
165-
<View style={[this.style.week, this.props.style, {width: commons.screenWidth}]}>{week}</View>
164+
<View style={[this.style.week, this.props.style]}>{week}</View>
166165
</View>
167166
);
168167
}

0 commit comments

Comments
 (0)