Skip to content

Commit

Permalink
Fix Scheduler shader position for small screen (T886366) (#13013)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yarovaya authored May 13, 2020
1 parent b1bdf90 commit aa070fd
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions styles/widgets/base/scheduler.less
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,6 @@
}

.dx-scheduler-date-time-shader-all-day {
margin-left: @SCHEDULER_LEFT_COLUMN_WIDTH;
width: 100%;
background-color: @SCHEDULER_TIME_INDICATOR_BACKGROUND_COLOR;
position: absolute;
Expand Down Expand Up @@ -656,8 +655,13 @@
}
}

.dx-scheduler-date-time-shader {
.dx-scheduler-date-time-shader,
.dx-scheduler-date-time-shader-all-day {
margin-left: @SCHEDULER_LEFT_COLUMN_WIDTH;

.dx-scheduler-small & {
margin-left: -@SCHEDULER_LEFT_COLUMN_WIDTH * @SCHEDULER_SMALL_SIZE_FACTOR;
}
}

.dx-scheduler-date-time-shader-top,
Expand All @@ -670,6 +674,10 @@
position: absolute;
margin-left: @SCHEDULER_LEFT_COLUMN_WIDTH;
background-color: @SCHEDULER_TIME_INDICATOR_BACKGROUND_COLOR;

.dx-scheduler-small & {
margin-left: @SCHEDULER_LEFT_COLUMN_WIDTH * @SCHEDULER_SMALL_SIZE_FACTOR;
}
}
}

Expand Down

0 comments on commit aa070fd

Please sign in to comment.