Reverted the change from .second-block to .calender-block
This commit is contained in:
parent
21630c6be9
commit
27a3505e02
4 changed files with 6 additions and 2 deletions
|
@ -88,7 +88,7 @@
|
|||
var lastMonth, lastMonthX, month, x;
|
||||
if (a === 0 && stamp.day === 0) {
|
||||
month = stamp.date.getMonth();
|
||||
x = (_this.daySizeWithSpace * i + 1) + _this.daySizeWithSpace;
|
||||
x = (_this.daySizeWithSpace * i + 41) + _this.daySizeWithSpace;
|
||||
lastMonth = _.last(_this.months);
|
||||
if (lastMonth != null) {
|
||||
lastMonthX = lastMonth.x;
|
||||
|
|
|
@ -56,7 +56,6 @@
|
|||
&.second-block {
|
||||
margin-top: -1px;
|
||||
margin-bottom: 0;
|
||||
direction: rtl;
|
||||
}
|
||||
|
||||
&.footer-block {
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
.calender-block {
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
direction: rtl;
|
||||
|
||||
@media (min-width: $screen-sm-min) and (max-width: $screen-md-max) {
|
||||
overflow-x: scroll;
|
||||
|
|
4
changelogs/unreleased/contribution-calendar-scroll.yml
Normal file
4
changelogs/unreleased/contribution-calendar-scroll.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
title: contribution calendar scrolls from right to left
|
||||
merge_request:
|
||||
author:
|
Loading…
Reference in a new issue