Skip to content
This repository has been archived by the owner on Jun 19, 2018. It is now read-only.

Commit

Permalink
fix(dayView): make hour list take up full width of overflow content
Browse files Browse the repository at this point in the history
Closes #389
  • Loading branch information
Matt Lewis committed Jul 25, 2016
1 parent 80bdc39 commit 22737dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/directives/mwlCalendarDay.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ angular

vm.allDayEvents = view.allDayEvents;
vm.nonAllDayEvents = view.events;
vm.viewWidth = view.width + 62;

}

Expand Down
2 changes: 1 addition & 1 deletion src/templates/calendarDayView.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
</div>

<div class="cal-day-box">
<div class="cal-day-panel clearfix" ng-style="{height: vm.dayViewHeight + 'px'}">
<div class="cal-day-panel clearfix" ng-style="{height: vm.dayViewHeight + 'px', minWidth: vm.viewWidth + 'px'}">

<mwl-calendar-hour-list
day-view-start="vm.dayViewStart"
Expand Down

0 comments on commit 22737dd

Please sign in to comment.