Skip to content

Commit

Permalink
fix(ui): calendar-cell range+today rendering fix
Browse files Browse the repository at this point in the history
  • Loading branch information
32penkin committed Sep 25, 2019
1 parent b015dcc commit 6365218
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions src/framework/ui/calendar/baseBalendar.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ export abstract class BaseCalendarComponent<D, P> extends React.Component<BaseCa
private renderDayElement = (date: CalendarDateInfo<D>, style: StyleType): CalendarDateContentElement => {
return (
<CalendarDateContent
style={[style.container, styles.dayCell]}
style={style.container}
textStyle={style.text}>
{this.dateService.format(date.date, FORMAT_DAY)}
</CalendarDateContent>
Expand Down Expand Up @@ -552,9 +552,6 @@ const styles = StyleSheet.create({
container: {
overflow: 'hidden',
},
dayCell: {
aspectRatio: 1,
},
monthCell: {
aspectRatio: 0.25 * DateService.DAYS_IN_WEEK,
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,6 @@ export class CalendarPickerRow<D> extends React.Component<CalendarPickerRowProps
const styles = StyleSheet.create({
container: {
flexDirection: 'row',
overflow: 'hidden',
},
});
1 change: 0 additions & 1 deletion src/playground/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6365218

Please sign in to comment.