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 {
& > div {
padding: 10px
@ -154,13 +159,6 @@
align-items: center;
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-team {
height: 30px;

View file

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