Fix markup

This commit is contained in:
Anton Ignatov 2019-08-26 15:52:03 +02:00 committed by aignatov-bio
parent 7117b767f4
commit 5b8e1fedf1
3 changed files with 3 additions and 3 deletions

View file

@ -311,7 +311,7 @@ var globalActivities = (function() {
var yesterday = new Date(new Date().setDate(today.getDate() - 1));
var weekDay = today.getDay();
var monday = new Date(new Date()
.setDate(today.getDate() - weekDay + (weekDay === 0 ? -6 : 1)));
.setDate(today.getDate() - weekDay - (weekDay === 0 ? 6 : -1)));
var lastWeekEnd = new Date(new Date().setDate(monday.getDate() - 1));
var lastWeekStart = new Date(new Date().setDate(monday.getDate() - 7));
var firstDay = new Date(today.getFullYear(), today.getMonth(), 1);

View file

@ -219,7 +219,7 @@
.activity-card {
cursor: default;
margin-right: 15px;
padding: 5px 0px 5px 40px;
padding: 5px 0 5px 40px;
&:hover {
background-color: $brand-primary-light;

View file

@ -105,7 +105,7 @@
.empty-dropdown {
opacity: .6;
padding: 7px;
text-align: center
text-align: center;
}
.dropdown-select-all {