summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorIgor Scheller <igor.scheller@igorshp.de>2019-10-20 14:54:00 +0200
committerIgor Scheller <igor.scheller@igorshp.de>2019-10-20 15:38:09 +0200
commiteec1eff65b8298037eae7bb25112dd98a766836a (patch)
tree39a553f9f59513cb5f64cd91483aca2417782049 /includes
parent941c08b2f6472d365686bf96a5e966cdba43c79a (diff)
Shifts overview: Style cleanup
Diffstat (limited to 'includes')
-rw-r--r--includes/view/ShiftCalendarShiftRenderer.php9
1 files changed, 4 insertions, 5 deletions
diff --git a/includes/view/ShiftCalendarShiftRenderer.php b/includes/view/ShiftCalendarShiftRenderer.php
index 2589b0cf..4911979f 100644
--- a/includes/view/ShiftCalendarShiftRenderer.php
+++ b/includes/view/ShiftCalendarShiftRenderer.php
@@ -38,11 +38,11 @@ class ShiftCalendarShiftRenderer
return [
$blocks,
- div( 'panel-' . $class. ' shift-card" style="height: '
+ div('shift-card" style="height: '
. ($blocks * ShiftCalendarRenderer::BLOCK_HEIGHT - ShiftCalendarRenderer::MARGIN)
. 'px;',
div(
- 'shift panel panel-' . $class. '" style="position: absolute; width:100%;',
+ 'shift panel panel-' . $class,
[
$this->renderShiftHead($shift, $class),
div('panel-body', [
@@ -52,11 +52,10 @@ class ShiftCalendarShiftRenderer
'Name' => $shift['room_name']
])
]),
- $shifts_row,
- div('shift-spacer')
+ $shifts_row
]
)
- )
+ )
];
}