Fit month view to window size

Fixes #4554
pull/246/head
Francis Lachapelle 2018-12-12 15:24:00 -05:00
parent c96a99ae69
commit 98dc691793
3 changed files with 5 additions and 1 deletions

1
NEWS
View File

@ -5,6 +5,7 @@ Enhancements
- [web] show source addressbook of matching contacts in appointment editor (#4579)
- [web] improve display of keyboard shortcuts
- [web] show time for messages of yesterday (#4599)
- [web] fit month view to window size (#4554)
Bug fixes
- [sogo-tool] fixed "manage-acl unsubscribe" command (#4591)

View File

@ -71,7 +71,7 @@
<div class="calendarView monthView">
<md-grid-list
var:md-cols="headerDaysToDisplay.count"
md-row-height="1:1"
md-row-height="fit"
md-gutter="0">
<var:foreach list="weeksToDisplay" item="currentWeek">
<var:foreach list="currentWeek" item="currentTableDay">

View File

@ -555,6 +555,9 @@ $quarter_height: 10px;
flex: 1 1 0;
text-align: center;
}
md-grid-list {
height: 100%;
}
md-grid-tile {
// Border of month day cell
border-right: 1px solid $colorGrey100;