Shifts overview: only scroll shifts, not whole page
This commit is contained in:
parent
25cdf1cac8
commit
ec47d124bb
|
@ -145,7 +145,8 @@ class ShiftCalendarRenderer
|
||||||
if (count($this->lanes) == 0) {
|
if (count($this->lanes) == 0) {
|
||||||
return info(__('No shifts found.'), true);
|
return info(__('No shifts found.'), true);
|
||||||
}
|
}
|
||||||
return div('shift-calendar', [
|
|
||||||
|
return div('shift-calendar table-responsive', [
|
||||||
$this->renderTimeLane(),
|
$this->renderTimeLane(),
|
||||||
$this->renderShiftLanes()
|
$this->renderShiftLanes()
|
||||||
]) . $this->renderLegend();
|
]) . $this->renderLegend();
|
||||||
|
|
|
@ -233,6 +233,15 @@ table a > .icon-icon_angel {
|
||||||
-moz-animation: pulse 1s infinite;
|
-moz-animation: pulse 1s infinite;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.legend .label {
|
||||||
|
white-space: pre-wrap;
|
||||||
|
line-height: 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
.shift-calendar.table-responsive {
|
||||||
|
overflow-x: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
@keyframes pulse {
|
@keyframes pulse {
|
||||||
0% {
|
0% {
|
||||||
transform: rotate(0deg);
|
transform: rotate(0deg);
|
||||||
|
|
Loading…
Reference in New Issue