Fix UI issues

This commit is contained in:
yflory 2021-04-09 12:26:11 +02:00
parent 542b5f17c2
commit b5ac7079a8
2 changed files with 7 additions and 8 deletions

View File

@ -145,6 +145,11 @@
} }
} }
#cp-toolbar .cp-calendar-browse {
display: flex;
align-items: center;
}
#cp-sidebarlayout-leftside { #cp-sidebarlayout-leftside {
& > div { & > div {
padding: 10px padding: 10px
@ -154,13 +159,6 @@
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
} }
.cp-calendar-browse {
display: flex;
align-items: center;
justify-content: space-around;
justify-content: space-evenly;
}
.cp-calendar-list { .cp-calendar-list {
.cp-calendar-team { .cp-calendar-team {
height: 30px; height: 30px;

View File

@ -607,8 +607,9 @@ Messages.calendar_dateTimeRange = "{0} {1} - {2}";
date = h('b', start); date = h('b', start);
} else if (APP.calendar._viewName === "month") { } else if (APP.calendar._viewName === "month") {
var month; var month;
var mid = new Date(Math.floor(((+range.start._date) + (+range.end._date)) / 2));
try { try {
month = range.start._date.toLocaleString('default', { month = mid.toLocaleString('default', {
month: 'long', month: 'long',
year:'numeric' year:'numeric'
}); });